android - I can't generate a signed APK with create react native app -
i can't seem generate signed apk using create react native app using command:
gradlew assemblerelease
the error log received:
c:\xampp\htdocs\react-native\wordpress\android\app\build\intermediates\manifests\full\release\androidmanifest.xml:2: aapt: tag <manifest> attribute package has invalid character '-'. c:\xampp\htdocs\react-native\wordpress\android\app\build\intermediates\manifests\full\release\androidmanifest.xml:96: aapt: tag <application> attribute name has invalid character '-'. c:\xampp\htdocs\react-native\wordpress\android\app\build\intermediates\manifests\full\release\androidmanifest.xml:102: aapt: tag <activity> attribute name has invalid character '-'. :app:processreleaseresources failed failure: build failed exception. * went wrong: execution failed task ':app:processreleaseresources'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\users\zubai\appdata\local\android\sdk\build-tools\25.0.0\aapt.exe'' finished non-zero exit value 1 * try: run --stacktrace option stack trace. run --info or -- debug option more log output. build failed
these settings in build.gradle in 'project/android/app' folder
android { compilesdkversion 25 buildtoolsversion '25.0.0' defaultconfig { applicationid "react-wordpress" minsdkversion 19 targetsdkversion 25 versioncode 1 versionname "1.0" multidexenabled true ndk { abifilters 'armeabi-v7a', 'x86' } manifestplaceholders = [ 'appauthredirectscheme': 'react-wordpress' ] }
Comments
Post a Comment