Skip to main content
New Participant
April 22, 2021
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.

    This topic has been closed for replies.
    zdh3110Answer
    New Participant
    April 22, 2021

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

     

    5 replies

    zdh3110AuthorAnswer
    New Participant
    April 22, 2021

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

     

    November 18, 2021

    Thank you!

    New Participant
    July 30, 2024

    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.

    New Participant
    November 28, 2024

    I cant find that in the file