cancel
Showing results for 
Search instead for 
Did you mean: 

OCULUS_PLATFORM__APK_PACKAGE_NAME_ALREADY_IN_USE

Hi,

I am trying to deploy a Meta Quest App to the Meta Store.

The first submission was rejected, so I am trying to submit a new one, but when I try, I get the following error:
OCULUS_PLATFORM__APK_PACKAGE_NAME_ALREADY_IN_USE

The funny part is when I try some other name, I get a new error saying that I am trying to use a new package name, and I must use the previous name. Meaning the previous name that is giving the error of package name already in use

So maybe someone has had the same issue.

I am totally blocked because of this, because I can not submit the new version of the app.

 

Thank you

materialisemedical_0-1718197901472.png

materialisemedical_1-1718198095537.png

 

 

10 REPLIES 10

ShiroTenko
Retired Support

Hey there @materialisemedical, I noticed that you are having a bit of trouble getting your app pushed for submission. I'm glad you decided to reach out on the forums where other devs could've ran into the same issue and provide you with a resolution. If you happen to still need assistance, you can always contact the support team that helps developers with submission issues here.

Hope this was helpful information!

VirtualReal1ty
Explorer

Same issue. I uploaded my first build okay, but when I want to upload a new updated build, I am told that the package name must be unique. But when I change the package name Applab gives a new error saying package names can not be the same

I've found a workaround, it might help someone
https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/
./ovr-platform-util upload-quest-build --app-id <app-id> --app-secret <app-secret> --apk <path-to-apk> --channel LIVE // Optional fields: --assets-dir <path-to-DLCs-dir> --obb <path-to-OBB>

I was able to upload using this tool
https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/
./ovr-platform-util upload-quest-build --app-id <app-id> --app-secret <app-secret> --apk <path-to-apk> --channel LIVE // Optional fields: --assets-dir <path-to-DLCs-dir> --obb <path-to-OBB>

I was able to upload a build using the ovr-platform-util.

I am not sure but the system is removing my messages, probably because I have answered to different threads that are facing the same problem, so I will answer only in this one that I started.

In the app developer website, try to upload from the website. It will give you and error, but it will give you the exact command to upload with ovr-platform-util

It worked for me.

I'd like to give more information but my previous replies were deleted, I think because it was false positive detected as spam, so I'll keep it like this and I'll try to add more information in a few hours

Motanum
Protege

Is this a bug from Meta's end? Because I have the exact same issue. Which started like a few days ago on Tuesday.

I pushed my first build for a new app im working on just fine and got it to work properly. But then, I packaged a new build (Unreal Engine 5, oculus branch) and I am getting the same error as you guys "OCULUS_PLATFORM__APK_PACKAGE_NAME_ALREADY_IN_USE". Plus a bunch of other warnings, which is weird because I didnt change settings, or anything significant. Just increment a number in the build and some widget stuff.

Log Text

  • 2024-06-13T18:24:51.168Z [DEBUG] Run args: {"appId":7334845636643834,"apkPath":"E:\\CompiledProjects\\GuitarGods-Quest-Normal\\Android_ASTC\\GuitarGods-Android-Shipping-arm64.apk","channel":"ALPHA:questproonly|quest3+","draft":true,"excludeAddons":false,"inheritAssetFiles":false,"isODH":true,"uploadFromEngine":false,"obbPath":"E:\\CompiledProjects\\GuitarGods-Quest-Normal\\Android_ASTC\\main.80.com.Rockhopper.GuitarGods.obb","token":"(removed)","uploadConcurrency":null,"platform":"ANDROID_6DOF","disableProgressBar":true}
    2024-06-13T18:24:51.358Z [DEBUG] Server log: {"app_id":7334845636643834,"client":"ODH","log_level":"DEBUG","event_name":"COMMAND_PARAMS","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)","extra":"{\"appId\":7334845636643834,\"apkPath\":\"E:\\\\CompiledProjects\\\\GuitarGods-Quest-Normal\\\\Android_ASTC\\\\GuitarGods-Android-Shipping-arm64.apk\",\"channel\":\"ALPHA:questproonly|quest3+\",\"draft\":true,\"excludeAddons\":false,\"inheritAssetFiles\":false,\"isODH\":true,\"uploadFromEngine\":false,\"obbPath\":\"E:\\\\CompiledProjects\\\\GuitarGods-Quest-Normal\\\\Android_ASTC\\\\main.80.com.Rockhopper.GuitarGods.obb\",\"token\":\"(removed)\",\"uploadConcurrency\":null,\"platform\":\"ANDROID_6DOF\",\"disableProgressBar\":true,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7334845636643834_2024-06-13T18:24:51.167Z\",\"command\":\"upload-quest-build\",\"app_id\":7334845636643834}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7334845636643834_2024-06-13T18:24:51.167Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":191}
    2024-06-13T18:24:52.550Z [WARN]
    🟡 WARNINGS:
    • Quest 1 support is automatically disabled for apps created after 04/30/2024. Please refer to this post for more details: https://developer.oculus.com/blog/changes-coming-quest-1-2023-meta/
    • Your manifest includes the following permissions restricted by Oculus:
    - android.permission.WRITE_EXTERNAL_STORAGE
    - android.permission.READ_EXTERNAL_STORAGE
    - android.permission.READ_MEDIA_AUDIO
    - android.permission.READ_MEDIA_VIDEO
    - android.permission.READ_MEDIA_IMAGES
    - android.permission.ACCESS_MEDIA_LOCATION
    - android.permission.READ_MEDIA_IMAGE
    - android.permission.WAKE_LOCK
    Please remove these permissions if they are not needed by your application. If they are needed, you must include justification in the “Notes for the Reviewer” field when submitting your application for review. Failure to provide justification will result in the rejection of your application.
    2024-06-13T18:24:52.550Z [ERROR] Server log: {"app_id":7334845636643834,"client":"ODH","log_level":"ERROR","event_name":"UPLOAD_PREVALIDATION_FAILURE","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.error (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)","extra":"{\"errors\":[\"The package name is already in use for another application. Every application must have a unique package name.\"],\"warnings\":[\"Quest 1 support is automatically disabled for apps created after 04/30/2024. Please refer to this post for more details: https://developer.oculus.com/blog/changes-coming-quest-1-2023-meta/\",\"Your manifest includes the following permissions restricted by Oculus:\\n - android.permission.WRITE_EXTERNAL_STORAGE\\n - android.permission.READ_EXTERNAL_STORAGE\\n - android.permission.READ_MEDIA_AUDIO\\n - android.permission.READ_MEDIA_VIDEO\\n - android.permission.READ_MEDIA_IMAGES\\n - android.permission.ACCESS_MEDIA_LOCATION\\n - android.permission.READ_MEDIA_IMAGE\\n - android.permission.WAKE_LOCK\\nPlease remove these permissions if they are not needed by your application. If they are needed, you must include justification in the “Notes for the Reviewer” field when submitting your application for review. Failure to provide justification will result in the rejection of your application.\"],\"time\":855,\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7334845636643834_2024-06-13T18:24:51.167Z\",\"command\":\"upload-quest-build\",\"app_id\":7334845636643834,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7334845636643834_2024-06-13T18:24:51.167Z","binary_id":"","duration":855,"is_patch_upload":0,"duration_since_session_start":1383}
    2024-06-13T18:24:52.643Z [ERROR]
  • :cross_mark: ERROR:
    • The package name is already in use for another application. Every application must have a unique package name.
    2024-06-13T18:24:52.644Z [ERROR] Server log: {"app_id":7334845636643834,"client":"ODH","log_level":"ERROR","event_name":"USER_ERROR","stack_trace":"UserVisibleError: • The package name is already in use for another application. Every application must have a unique package name.\n at C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","extra":"{\"error\":\"• The package name is already in use for another application. Every application must have a unique package name.\",\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.98.0.000001\",\"compatibility_version\":2,\"session_id\":\"7334845636643834_2024-06-13T18:24:51.167Z\",\"command\":\"upload-quest-build\",\"app_id\":7334845636643834,\"platform\":\"ANDROID_6DOF\"}","platform":"ANDROID_6DOF","cli_version":"1.98.0.000001","session_id":"7334845636643834_2024-06-13T18:24:51.167Z","binary_id":"","duration":null,"is_patch_upload":0,"duration_since_session_start":1477}

 

Motanum
Protege

I think this is a bug with the Meta Quest Dev Hub, I have also encountered this issue when uploading a new build for a fresh app, where I had no issue uploading the first build a few days ago. And the new build doesn't have significant changes, just some widget changes.

I did manage to upload my build using the Oculus Platform Utility and I am about to test it, but it seems like a success there.

 

ShiroTenko
Retired Support

It looks like @materialisemedical found something that could help on this matter. Can anyone try it out and see if it helps?


@ShiroTenko wrote:

It looks like @materialisemedical found something that could help on this matter. Can anyone try it out and see if it helps?


Using the Oculus Platform Utility exe with a command line worked for me as a work around. Try to push through the website, it will tell you the error and the console command to use pretty much.