error: p>
CommandInvokationFailure:
***\android-sdk\build-tools\25.0.2\aapt. Exe package — auto-add-overoverlay -v-f-m-j “gen” -m “androidmanifest.xml” -s “res” -i “Android – * * *, platforms, android SDK – 23 \ android jar” -f bin/resources. Ap_ – extra – packages com. Google. Vr. Cardboard: com. Unity3d. Unitygvr -s “* * * Game \ Temp \ StagingArea \ android – libraries \ GVR \ res” -s “* * * Game \ Temp \ StagingArea \ android – libraries \ unitygvr \ res” span> strong> p>
stderr[
AndroidManifest.xml:5: error: Error: String types not allowed (at ‘configChanges’ with value ‘MCC | newsun focus | locale | touchscreen | the rid_device_info_keyboard | keyboardHidden | navigation | orientation | screenLayout | uiMode | screenSize | smallestScreenSize | fontScale | layoutDirection | density).’
] span> strong> p>
solution :
, you have to download the version API corresponding to platform-tools to solve it,
may refer to: https://unitycoder.com/blog/2017/10/20/android-build-error-error-string-types-not-allowed-at-configchanges/ p>
Read More:
- After unity connects with androidstudio, unity packages APK with an error: commandinvocationfailure: failed to re package resources
- Commandinvocationfailure: failed to build APK problem record
- The solution of “failed to load il2cpp” in Android package launched by unity
- [Unity] Solve the problem of IOException: Failed to Copy… in Unity packaging apk
- Android studio reports an error when building AAR for unity
- unity fatal error in gc too many heap sections error
- Solution: unity package failed. Commandinvocationfailure: gradle build failed
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- [unity] when using unity hub, there is a problem of “failed to delete old unit installation file…” problem
- Stopping ADB server failed(code -1)
- Unity Android packaging error “UnityEditor.BuildPlayerWindow+BuildMethodException” solution record
- Unity-failed to update unity web player
- Create game scene in unity_ Creating a beat em up game in unity
- How to Fix Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
- Command not found: ADB appears on Mac
- Gradle sync failed: Sync failed: reason unknown
- Notes on unity project_ Unity webplayer failed to update unity web player
- Mobile app development: installation and configuration of react native
- Unity Android solves the problem of information flow advertisement closing and error reporting
- Failed to find target with hash string ‘android-25’ in:D:\SDK