Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
zdh3110's avatar
zdh3110
Explorer
4 years ago
Solved

Can't upload apk to dashboard: APK is debuggable (android:debuggable in AndroidManifest.xml)

I want to upload my .apk to the Dashboard, yet it always says:

ERROR: Validation identified the following errors:

APK is debuggable (android:debuggable in AndroidManifest.xml)

I've tried multiple ways: 

  1. Updated the Oculus Integration package to the latest version (27.0); (not sure why the previous version doesn't have the "Upload Debug Symbols" setting in OVR Platform Tool.)
  2. Added android:debuggable = "false" to the AndroidManifest.xml file created from "Oculus->Tools->Create store-compatible AndroidManifest.xml"; (not sure why this attribute is missing in the original file)
  3. Created a new Keystore;
  4. Change Minify-> Release to Proguard;
  5. The backend is Mono and the Debug Symbols Directory is "C:\Program Files\Unity\Hub\Editor\2019.4.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\Variations\mono\Release\Symbols\armeabi-v7a";

Is there anything else I can do to upload the apk file successfully? Thanks in advance.

  • OK, so this is fixed by unchecking the "Development Build". Hope this will help people who have the same issue.

     

5 Replies

Replies have been turned off for this discussion
  • OK, so this is fixed by unchecking the "Development Build". Hope this will help people who have the same issue.

     

  • If you encounter an error when uploading your APK to the dashboard due to debuggability, you need to ensure the APK is set to release mode. The issue can be resolved by unchecking the "Development Build" option in Unity. Additionally, ensure android:debuggable="false" is set in your AndroidManifest.xml file. This will ensure your APK is not marked as debuggable, allowing it to be uploaded successfully.