defold / defold

Defold is a completely free to use game engine for development of desktop, mobile and web games.
https://www.defold.com
Other
4.08k stars 292 forks source link

Pre-built dmengine.apk does not install on Android 11 #5979

Closed britzl closed 2 years ago

britzl commented 3 years ago

Describe the bug (REQUIRED) The pre-built dmengine.apk provided from d.defold.com and github.com does not install on Android 11. The following is seen in the adb log:

No signature found in package of version 2 or newer for package com.defold.dmengine

To Reproduce (REQUIRED) Steps to reproduce the behavior:

  1. Download dmengine.apk
  2. Install on Android 11 device
  3. Notice the "app not installed" error

Expected behavior (REQUIRED) It should install

Defold version (REQUIRED):

Platforms (REQUIRED):

Workaround (OPTIONAL): Bundle an empty project from the editor or bob.jar and use it instead

Additional context (OPTIONAL): https://forum.defold.com/t/dmengine-wont-install-on-android-11/69041

CocosGames commented 3 years ago

I got it. Solution: (choose one) 1, set targetSdkVersion < 30 in Manifest; 2, using V2 signature.

Another thing is I didn't find any logo or icons in dmengine.apk.

britzl commented 3 years ago

We have decided to change how the dev app is built. Previously it was built using arcane python scripts in build_tools/waf_dynamo.py. We will now set up a separate Defold project with the required files and build that using bob as part of the release process.

strflw commented 2 years ago

Is there a user-fix after over a month now?? Clearly i can neither fix dmengine.apk signing and also cant change its manifest.

strflw commented 2 years ago

Found a solution, just in case someone else looks for it: Build the app once as debug version and install it manually (using adb e.g) Once its installed and runnign defold Editor will recognize your device via USB and via Wifi.

britzl commented 2 years ago

Is there a user-fix after over a month now??

The dmengine.apk app has moved here: https://github.com/defold/dev-app

Bundle it using Defold or bob.jar and install it. Or, like you discovered, take any Defold app and bundle in debug mode.