Hi,
I managed to install the App on my Android phone only after I signed it by another app
tersus not manage to sign it (maybe bug?)
-release-nosign:
[echo] No key.store and key.alias properties found in build.properties.
[echo] Please sign C:\Users\Ella\Desktop\apk\bin\MedicationTrackerMobile-release-unsigned.apk manually
[echo] and run zipalign from the Android SDK tools.
this is the app compile log from tersua
Buildfile: C:\Users\Ella\Desktop\apk\build.xml
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at C:\SDK_HOME
-setup:
[echo] Project Name: MedicationTrackerMobile
[gettype] Project Type: Application
-build-setup:
[echo] Resolving Build Target for MedicationTrackerMobile...
[gettarget] Project Target: Android 4.1
[gettarget] API level: 16
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Ella\Desktop\apk\bin\res
[mkdir] Created dir: C:\Users\Ella\Desktop\apk\gen
[mkdir] Created dir: C:\Users\Ella\Desktop\apk\bin\classes
[echo] Resolving Dependencies for MedicationTrackerMobile...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] Building Libraries with 'release'...
[subant] No sub-builds to iterate on
-pre-build:
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 3 source files to C:\Users\Ella\Desktop\apk\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Converting compiled files and external libraries into C:\Users\Ella\Desktop\apk\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\Ella\Desktop\apk\res
[crunch] To destination dir: C:\Users\Ella\Desktop\apk\bin\res
[crunch] Processing image to cache: C:\Users\Ella\Desktop\apk\res\drawable-hdpi\ic_launcher.png => C:\Users\Ella\Desktop\apk\bin\res\drawable-hdpi\ic_launcher.png
[crunch] (processed image to cache entry C:\Users\Ella\Desktop\apk\bin\res\drawable-hdpi\ic_launcher.png: 87% size of source)
[crunch] Processing image to cache: C:\Users\Ella\Desktop\apk\res\drawable-hdpi\icon.png => C:\Users\Ella\Desktop\apk\bin\res\drawable-hdpi\icon.png
[crunch] (processed image to cache entry C:\Users\Ella\Desktop\apk\bin\res\drawable-hdpi\icon.png: 70% size of source)
[crunch] Processing image to cache: C:\Users\Ella\Desktop\apk\res\drawable-ldpi\ic_launcher.png => C:\Users\Ella\Desktop\apk\bin\res\drawable-ldpi\ic_launcher.png
[crunch] (processed image to cache entry C:\Users\Ella\Desktop\apk\bin\res\drawable-ldpi\ic_launcher.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\Ella\Desktop\apk\res\drawable-ldpi\icon.png => C:\Users\Ella\Desktop\apk\bin\res\drawable-ldpi\icon.png
[crunch] (processed image to cache entry C:\Users\Ella\Desktop\apk\bin\res\drawable-ldpi\icon.png: 70% size of source)
[crunch] Processing image to cache: C:\Users\Ella\Desktop\apk\res\drawable-mdpi\ic_launcher.png => C:\Users\Ella\Desktop\apk\bin\res\drawable-mdpi\ic_launcher.png
[crunch] (processed image to cache entry C:\Users\Ella\Desktop\apk\bin\res\drawable-mdpi\ic_launcher.png: 78% size of source)
[crunch] Processing image to cache: C:\Users\Ella\Desktop\apk\res\drawable-mdpi\icon.png => C:\Users\Ella\Desktop\apk\bin\res\drawable-mdpi\icon.png
[crunch] (processed image to cache entry C:\Users\Ella\Desktop\apk\bin\res\dr
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating MedicationTrackerMobile-release-unsigned.apk for release...
-post-package:
-release-prompt-for-password:
[propertyfile] Creating new property file: C:\Users\Ella\Desktop\apk\bin\build.prop
[propertyfile] Updating property file: C:\Users\Ella\Desktop\apk\bin\build.prop
-release-sign:
-post-build:
release:
BUILD SUCCESSFUL
Total time: 14 seconds
===========================================
After the installation on the phone the app have a black screen and on back i get white screen (but I never the app screen :()
this is the log from the phone
W/WindowManager( 1994): Attempted to add application window with unknown token Token{421dd870 ActivityRecord{4228ecd0 com.medicationtrackermobile/.MedicationTrackerMobile}}. Aborting.I/ActivityManager( 1994): Process com.medicationtrackermobile (pid 3683) has died.I/PackageManager( 1994): Removing non-system package:com.medicationtrackermobileI/ActivityManager( 1994): Force stopping package com.medicationtrackermobile uid=10081I/ActivityManager( 1994): Killing proc 4081:com.medicationtrackermobile/10081: force stopI/ActivityManager( 1994): Force stopping package com.medicationtrackermobile uid=10081D/Launcher.LauncherModel( 1911): --> package:com.medicationtrackermobileD/VoicemailCleanupService( 2333): Cleaning up data for package: com.medicationtrackermobileE/PackageInfoItemFactory( 4577): android.content.pm.PackageManager$NameNotFoundException: com.medicationtrackermobileV/BackupManagerService( 1994): removePackageParticipantsLocked: com.medicationtrackermobileI/UninstallAppProgress( 4681): Finished uninstalling pkg: com.medicationtrackermobileI/PackageParser( 4895): com.medicationtrackermobile: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATEI/PackageParser( 4895): com.medicationtrackermobile: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATEI/PackageParser( 4973): com.medicationtrackermobile: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATEI/ApplicationPolicy( 1994): isApplicationInstallationEnabled : pkg com.medicationtrackermobileW/ActivityManager( 1994): No content provider found for permission revoke: file:///mnt/sdcard/Download/MedicationTrackerMobile-release-unsigned_new_zipAlign.apkW/ActivityManager( 1994): No content provider found for permission revoke: file:///mnt/sdcard/Download/MedicationTrackerMobile-release-unsigned_new_zipAlign.apkI/PackageParser( 1994): com.medicationtrackermobile: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATEI/PackageManager( 1994): ICS_DEBUG scanPackageLI entered com.medicationtrackermobileI/PackageManager( 1994): Running dexopt on: com.medicationtrackermobileI/ActivityManager( 1994): Force stopping package com.medicationtrackermobile uid=10081D/PackageManager( 1994): New package installed in /data/app/com.medicationtrackermobile-1.apkD/Launcher.LauncherModel( 1911): --> package:com.medicationtrackermobileV/BackupManagerService( 1994): addPackageParticipantsLocked: com.medicationtrackermobileI/DebugDb ( 1911): Dump Adapter 125 com.sec.android.app.twlauncher.ApplicationInfo MedicationTrackerMobile -1 -1 -1 -1|-1|-1|-1|-1|0 com.sec.android.app.twlauncher.ApplicationInfo@422d8cd0I/DebugPlacement( 1911): SyncGrid 10 14 com.sec.android.app.twlauncher.ApplicationInfo MedicationTrackerMobile -1 10 14 -1|-1|-1|-1|-1|0 com.sec.android.app.twlauncher.ApplicationInfo@422d8cd0 NewI/DebugDb ( 1911): Update app info -1 com.sec.android.app.twlauncher.ApplicationInfo MedicationTrackerMobile -1 10 14 -1|-1|-1|-1|-1|0 com.sec.android.app.twlauncher.ApplicationInfo@422d8cd0I/ActivityManager( 1994): Process com.medicationtrackermobile (pid 5120) has died.
Any idea?
Regards,
Yaniv
To use the full functionality of this web site, JavaScript needs to be turned on.
For best results, use the Firefox browser..
Copyright © 2003-2017 - Tersus Software Ltd., All rights reserved. Terms of Use License Graphic design by EmaraDesign