Closed m4gr3d closed 3 years ago
Code changes look good; nice work! Build workd fine but when I try to deploy the demo application I get the following error:
Exception occurred while dumping:
java.lang.IllegalArgumentException: Unknown package: org.godotengine.demo.vr.oculus.mobile
at com.android.server.pm.Settings.isOrphaned(Settings.java:4135)
at com.android.server.pm.PackageManagerService.isOrphaned(PackageManagerService.java:18500)
at com.android.server.pm.PackageManagerService.deletePackage(PackageManagerService.java:15895)
at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:889)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:792)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:118)
at android.os.ShellCommand.exec(ShellCommand.java:98)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18760)
at android.os.Binder.shellCommand(Binder.java:509)
at android.os.Binder.onTransact(Binder.java:408)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2399)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3153)
at android.os.Binder.execTransact(Binder.java:606)
Installing to device (please wait...): Oculus Quest
Performing Streamed Install
adb: failed to install C:\Users\neosp\AppData\Local\Temp/Godot/tmpexport.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Package /data/app/vmdl741549785.tmp/base.apk has no certificates at entry AndroidManifest.xml]
Maybe it is this a setup error on my side?
Features:
OvrSystem
API:OvrSystem::is_oculus_quest_1_device()
: Use to check for Oculus Quest 1 devicesOvrSystem::is_oculus_quest_2_device()
: Use to check for Oculus Quest 2 devicesOvrSystem::get_device_type()
: Return anint
describing the device type. The returned value can be checked againstOvrVrApiTypes.OvrDeviceType
enum values.Breaking Changes:
Fix #121