Google Play APK upload error

Hi,

Follow these steps when trying to install the APK file. Google play does not accept SmartHome-debug.apk During installation the “build/Android/Release/SmartHome.apk” I choose. But the “SmartHome.apk” can not be found among the created files.

  • uno clean

  • uno build --target=android --configuration=Release

ls -l build/Android/Release/
total 32
drwxr-xr-x  10 baran  staff  340 16 Mar 13:32 SmartHome
lrwxr-xr-x   1 baran  staff   46 16 Mar 13:33 SmartHome.apk -> SmartHome/app/src/main/bin/SmartHome-debug.apk
-rwxr-xr-x   1 baran  staff  879 16 Mar 13:32 build.sh
-rwxr-xr-x   1 baran  staff  559 16 Mar 13:32 log.sh
-rwxr-xr-x   1 baran  staff  563 16 Mar 13:32 run.sh

ls -l build/Android/Release/SmartHome/app/src/main/bin/
total 26992
-rw-r--r--  1 baran  staff     2201 16 Mar 13:33 AndroidManifest.xml
-rw-r--r--  1 baran  staff      228 16 Mar 13:33 AndroidManifest.xml.d
-rw-r--r--  1 baran  staff  6361054 16 Mar 13:33 SmartHome-debug-unaligned.apk
-rw-r--r--  1 baran  staff      719 16 Mar 13:33 SmartHome-debug-unaligned.apk.d
-rw-r--r--  1 baran  staff  6361070 16 Mar 13:33 SmartHome-debug.apk
-rw-r--r--  1 baran  staff   912933 16 Mar 13:33 SmartHome.ap
-rw-r--r--  1 baran  staff     5446 16 Mar 13:33 SmartHome.ap.d
-rw-r--r--  1 baran  staff      179 16 Mar 13:33 build.prop
-rw-r--r--  1 baran  staff     3921 16 Mar 13:32 build.xml
drwxr-xr-x  3 baran  staff      102 16 Mar 13:33 classes
-rw-r--r--  1 baran  staff   115248 16 Mar 13:33 classes.dex
-rw-r--r--  1 baran  staff    17146 16 Mar 13:33 classes.dex.d
drwxr-xr-x  2 baran  staff       68 16 Mar 13:33 dexedLibs
-rw-r--r--  1 baran  staff      430 16 Mar 13:32 local.properties
-rw-r--r--  1 baran  staff      781 16 Mar 13:32 proguard-project.txt
-rw-r--r--  1 baran  staff      209 16 Mar 13:33 proguard.txt
-rw-r--r--  1 baran  staff      561 16 Mar 13:32 project.properties
drwxr-xr-x  8 baran  staff      272 16 Mar 13:33 res

It is the correct file, it’s just that the file under app/src/main/bin/ gets the -debug suffix.

Simply select the symlink when you’re uploading, or rename the actual file.

Remi Pedersen wrote:

It is the correct file, it’s just that the file under app/src/main/bin/ gets the -debug suffix.

Simply select the symlink when you’re uploading, or rename the actual file.

I renamed file. I tried again. But it did not change the results.

Google says: http://imgur.com/a/6hv4y

Ah, sorry, I misunderstood and thought it was only about finding the right file.

In order to sign your app correctly for release see the articles mentioned in this thread.