Every time I try to build with the following command:
It fails with the following:
[exp] Checking if current build exists…
[exp] Build Status
[exp] Android: There was an error with this build.
The build number is:
Is there anyway to get any build logs via the CLI?
Can you paste your app.json file? I’m seeing this error in the build logs:
/src/exponent/android-shell-app/expoview/build/intermediates/bundles/release/aapt/AndroidManifest.xml:23: AAPT: Tag <uses-permission> attribute name has invalid character '-'.
This usually happens when an invalid permission entry is created, although it could be due to an incorrect XML escape on our end.
That explains it - I have an AndroidManifest.xml file in the root of the application.
I’ve missed this bit of the documentation:
Is there any way to view the build logs as this would have saved me asking the question?
Thanks for your help.
Sorry still not working build number is:
I have the following warnings:
[exp] Warning: Problem validating fields in app.json. See https://docs.expo.io/versions/v19.0.0/guides/configuration.html.
[exp] • ‘android.package’ should be a reverse DNS notation unique name for your app. For example, host.exp.exponent, where exp.host is our domain and Expo is our app…
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
Not sure whether this would be affecting it?
Yeah, can you try resolving those warnings and then see if it works?
Fixed the build “warning’s” and I’ve now got an apk! Upgraded to SDK 20 in the process too. Along with the Expo React Native build.