Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Building Android App After Install #14

Closed
joelcdoyle opened this issue Aug 18, 2017 · 2 comments
Closed

Error Building Android App After Install #14

joelcdoyle opened this issue Aug 18, 2017 · 2 comments

Comments

@joelcdoyle
Copy link

joelcdoyle commented Aug 18, 2017

Using 2.1.3
react-native 0.46.1

UPDATE: Same results Using ^2.2.0 and react-native ^0.47.0

Since I've installed and linked this library, I get this error when attempting to build for Android:

:app:processDebugResourcesC:\Development\WebDev\sti-wb-react-native\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\my-app\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

C:\my-app\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\my-app\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.


 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.859 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

The only difference from my working app is that I have installed and linked the library.

I have not even imported the FingerprintScanner

Results are identical for manual setup.

@sahil290791
Copy link
Contributor

@joelcdoyle were you able to fix this issue?

@joelcdoyle
Copy link
Author

joelcdoyle commented Oct 19, 2017

@sahil290791 Yes. I was. I think it was just a matter of having the right Android API versions installed. After updating and adding the latest Android APIs the problem has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants