The recommended upgrade from Godot 3.2.3 to Godot 3.3 introduced a problem in my existing project:I can no longer export my game to Android.Attempting to do it anyways displayed 6 errors in red.Most of them were solved by installing the Android Export Template for Godot 3.3,but One remained:
I have specified /lib/android-sdk as my Android SDK path. This is the file structure from that point, on a fresh reinstall of android-sdk(I boldened the word apksigner. If you still can't find it, try to press [Ctrl]+[F] and type apksigner):- /lib/android-sdk- - build-tools- - - [2 directories with identical file structure:] 27.0.1 [soft link]; debian- - - - aapt- - - - aapt2- - - - aidl- - - - aidl-cpp- - - - apksigner.jar- - - - dexdump- - - - dx- - - - lib- - - - - dx.jar [soft link]- - - - - shrinkedAndroid.jar [soft link]- - - - llvm-rs-cc- - - - mainDexClassesNoAapt.rules- - - - mainDexClasses.rules- - - - package.xml- - - - runtime.properties- - - - source.properties- - - - split-select- - - - zipalign- - licenses- - - apache-2.0- - platforms- - - android-23- - - - android.jar [soft link]- - - - framework.aidl- - platform-tools- - - adb- - - dmtracedump- - - etc1tool- - - fastboot- - - hprof-conf- - - make_f2fs [soft link]- - - mke2fs [soft link]- - - package.sml- - - sload_f2fs [soft link]- - - source-properties- - - sqlite3 [soft link]- - tools- - - bin- - - - e2fschl [soft link]- - - - fsck.ext4 [soft link]- - - - mkfs.ext4 [soft link]- - - - resize2fs [soft link]- - - - tune2fs [soft link]- - - package.xml- - - proguard- - - - bin- - - - - proguard [soft link]- - - - - proguardgui [broken link]- - - - lib- - - - - proguardgui.jar [broken link]- - - - - proguard.jar [soft link]- - - - - retrace.jar- - - - proguard-android-optimize.txt- - - - proguard-android.txt- - - - proguard-project.txt- - - source.properties
I remember that when I upgraded from 3.23, I had to explicitly fill in the Keystore fields in the Project >> Export dialog. In 3.2.3, that was not necessary; having them in Editor Settings >> Export was adequate.
Godot didn't accept the Apksigner because its filename was 'apksigner.jar' instead of just 'apksigner'.When I did the following steps, it was solved (The exact steps are for Linux):1. Open Terminal2. Navigate to the Android SDK Build Tools directory (Mine was /lib/android-sdk/build-tools/debian):cd /lib/android-sdk/buid-tools/debian3. Create a symbolic link of the apksigner.jar file, with the name apksigner:sudo ln -s apksigner.jar apksigner(You could also rename apksigner.jar to apksigner by tying mv (move) instaed of ln -s,but I chose the Symbolic Link route to minimize the chances of other programs suddenly reporting an error because apksigner.jar has been gone)
After that, I also can't have the Debug Keystore specified underBoth the Editor settings And the Project Export settings,but under the Editor settings only,to prevent an "Apksigner has thrown error #2" messagefrom blocking my Android export.
That's strange. I'm on Linux and the apksigner is there with a different folder structure../Android/Sdk/build-tools/30.0.3/apksignerI think because I installed Android Studio, maybe you used a different install method.
For 2 months now, I try to install the fdroid server on my fedora 38 server, without any chances.
I followed this manual Setup an F-Droid App Repo F-Droid - Free and Open Source Android App Repository
First error was, that there was no apksigner. After 2 weeks of searching I found one and placed it inside the root directory. Now, when I want to update via fdroid update the following errors shows up:
I would like to sign this apk file with that keystore on my Ubuntu laptop, but I get the following error while using the following command:
./apksigner sign --ks keystore.p12 --ks-key-alias my_alias --out signed.apk app-release.apk
apksigner: can't find apksigner.jar
An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of 'C:\Users\Administrator\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk'. Original error: Could not find 'apksigner.jar'
An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk'. Original error: Could not find 'apksigner.jar' in ["E:\\android-sdk-windows\\platform-tools\\apksigner.jar"
c80f0f1006