I wanted to see if an app of mine would build and run on my pixel 3a with android 11 without issue if I set the target sdk in the manifest to 30 and configured android-30 for the android.jar. (B4A 10.2, latest SDK, device attached via usb, as always.)
When I compiled, I received this error:
adb: failed to install tst.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package b4a.example]
When I backed down to target sdk 29 with android-29 for the android.jar, the app compiled and deployed without a problem. As always.
So I decided to simplify by creating the "hello world" default sample. When I tried with Target SDK 30 and android-30 jar, I received the error again:
adb: failed to install hw.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package b4a.example]
When I backed down to target sdk 29 with android-29 for the android.jar, "hello world" compiled and deployed without a problem.
I rebuilt "hello world" again with target SDK 30 and android-30 jar and manually copied the apk to the device. When I tried to install, I received this error:
"You can't install the app on your device".
OK, so, maybe something wrong with the device? I have another Pixel3a (they're cheap now). Same error:
adb: failed to install hw.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package b4a.example]
This error was mentioned once previously in the forum. Different circumstances, and Erel said he wasn't able to duplicate it. Has that changed?
I compile all day long on the device without issue. There is no "version 2 or newer" of the package. No signature change (presumably, clearly indicated by successful compilation and deployment when target sdk 29 and android-29 are used). and, of course the obvious question: which certificates is it talking about?
Will we have to use a different key generation scheme for sdk 30 and up?
When I compiled, I received this error:
adb: failed to install tst.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package b4a.example]
When I backed down to target sdk 29 with android-29 for the android.jar, the app compiled and deployed without a problem. As always.
So I decided to simplify by creating the "hello world" default sample. When I tried with Target SDK 30 and android-30 jar, I received the error again:
adb: failed to install hw.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package b4a.example]
When I backed down to target sdk 29 with android-29 for the android.jar, "hello world" compiled and deployed without a problem.
I rebuilt "hello world" again with target SDK 30 and android-30 jar and manually copied the apk to the device. When I tried to install, I received this error:
"You can't install the app on your device".
OK, so, maybe something wrong with the device? I have another Pixel3a (they're cheap now). Same error:
adb: failed to install hw.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Scanning Failed.: No signature found in package of version 2 or newer for package b4a.example]
This error was mentioned once previously in the forum. Different circumstances, and Erel said he wasn't able to duplicate it. Has that changed?
I compile all day long on the device without issue. There is no "version 2 or newer" of the package. No signature change (presumably, clearly indicated by successful compilation and deployment when target sdk 29 and android-29 are used). and, of course the obvious question: which certificates is it talking about?
Will we have to use a different key generation scheme for sdk 30 and up?