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 with running App with react-native-ble on Android in debug mode #37

Open
mosesmc52 opened this issue Mar 1, 2017 · 3 comments
Open

Comments

@mosesmc52
Copy link

Hi,

I'm attempting to run App on react-native-ble on my Adroid, but I recieve this error. How would I fix it?

AndroidManifest.xml:9:5-11:41 Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library

Suggestion: use tools:overrideLibrary="com.geniem.rnble" to force usage

@warrenronsiek
Copy link

  1. Does this only happen when you run in debug mode?
  2. Assuming you aren't using an emulator (which wont work), it sounds like your phone's OS is outdated. Have you tried updating it?

@mosesmc52
Copy link
Author

Yes, I'm not using the debug mode. I believe the reason is caused because my phone OS is outdated.

@mosesmc52
Copy link
Author

mosesmc52 commented Mar 5, 2017

So I purchased Android this tablet.

The OS it's using is Android 6.0.

I also downgraded to React Native v0.38.0. After linking react-native-ble, I get the same error:

AndroidManifest.xml:9:5-11:41 Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library

I can't image that the OS is out of date.

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