Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Android builds with Mac does not install on Android devices.
Started by Aidin Jun 01 2013 09:29 AM

- - - - -
74 replies to this topic
[TOPIC CONTROLS]
Page 1 of 3 1 2 3
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Hi,

 

When I build for Android on an iMac with OSX version of 10.7, the generated APK file fail to install on Android devices saying that Application cannot be installed but if I do the same with my PC, it works just fine.

 

I even set the target in the build window to "none" but that didn't fix anything. I'm using latest public build.

 

Thanks.



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Are there any errors in the device console log?  you need to use adb logcat (from the Android Debug Bridge tools) to see the console log with your device wired up the your computer's USB port.

 

The likely problem though could either be Java related or with your keystore not being correct.  But we need to see what error your getting in that console log....



[TOPIC: post.html]
#3

ksan

[GLOBAL: userInfoPane.html]
ksan
  • Corona Geek

  • 2,795 posts
  • Corona SDK

[TOPIC: post.html]
#4

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

This sounds like the problem I was observing 

 

http://forums.coronalabs.com/topic/35422-there-is-a-problem-parsing-the-package-build-1127/

 

It seems we are on the same track. I'm trying to download 1133 to see if it's working.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Did you ever look at the output from "adb  logcat"? 



[TOPIC: post.html]
#6

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Dear Rob,

 

Problem is I have no idea how to do that in OS X. And I have Android SDK for PC, do I have to download it again for OS X as well?



[TOPIC: post.html]
#7

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

see:  https://www.google.com/search?q=installing+adb+on+a+mac&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

 

These will guide you through installing it on a Mac.  You have to get the tools installed on the mac to use them on the mac.  If you have them on a PC you could run them on the PC.



[TOPIC: post.html]
#8

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Thanks, thing is I can't download Android SDK again for Mac since it's very hard where I live.



[TOPIC: post.html]
#9

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Dear Rob,

 

I'm trying to get to bottom of this, so I attached android debugger with running "adb logcat" and first of all, is there anyway to remove system logs and just log user stuff? It's kinda hard to catch my logs when there are lots of system logs there.

 

Second, I'm not sure if it's all the logs for this but from what I found, I think it's this:

 

///mnt/sdcard/ext_sd/fail_test.apk
V/WindowManager(  243): Finished animation in AppWindowToken{41c06050 token=Token{410c74a0 ActivityRecord{413cac08 com.android.packageinstaller/.InstallAppProgress}}} @ 250359473
W/ActivityManager(  243): No content provider found for permission revoke: file:
///mnt/sdcard/ext_sd/fail_test.apk
W/PackageParser(  243): Exception reading /data/app/vmdl1385892048.tmp
W/PackageParser(  243): java.io.IOException: Entry is not named
W/PackageParser(  243):         at java.util.jar.InitManifest.initEntries(InitManifest.java:60)
W/PackageParser(  243):         at java.util.jar.Manifest.read(Manifest.java:221)
W/PackageParser(  243):         at java.util.jar.Manifest.<init>(Manifest.java:120)
W/PackageParser(  243):         at java.util.jar.JarFile.getManifest(JarFile.java:296)
W/PackageParser(  243):         at android.content.pm.PackageParser.collectCertificates(PackageParser.java:536)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:7269)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService.access$1500(PackageManagerService.java:166)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService$5.run(PackageManagerService.java:5699)
W/PackageParser(  243):         at android.os.Handler.handleCallback(Handler.java:605)
W/PackageParser(  243):         at android.os.Handler.dispatchMessage(Handler.java:92)
W/PackageParser(  243):         at android.os.Looper.loop(Looper.java:154)
W/PackageParser(  243):         at android.os.HandlerThread.run(HandlerThread.java:60)
D/dalvikvm(  243): GC_EXPLICIT freed 1085K, 40% free 17506K/28707K, paused 4ms+9ms
D/InstallAppProgress( 5130): Installation error code: -105

 

Thanks.



[TOPIC: post.html]
#10

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

adb logcat Corona:v *:s

 

You can also do:

 

adb logcat | grep Corona

 

will filter out everything but Corona generated messages, however, it would probably miss some things that happen in other activities that are related to what's going on in Corona.    Are you using expansion files?



[TOPIC: post.html]
#11

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Thanks for the reply.

 

Are you using expansion files?

 


No.



[TOPIC: post.html]
#12

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Dear Rob,

 

My OS X is 10.7, IIRC. If you suspect on anything, let me reinstall it and check. I think the only relevant thing is Java to this thing, do I have to reinstall JRE 6 32-bit? I remember that new builds are using Java 7.

 

Thanks.



[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

It feels like an error in your build.settings.  Is there any more to the error.  Can get another 50 lines or so of the log before that error?  That will probably provide enough information for an engineer to look at it.



[TOPIC: post.html]
#14

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Dear Rob,

 

I use the same project at home and can get working Android builds, so it may not be my build.settings file. BTW, here is my build.settings:

 

settings =
{
    iphone =
    {
        plist =
        {
	    CFBundleIconFile = "Icon.png",
	    CFBundleIconFiles = {
		"Icon.png" , 
		"Icon@2x.png" , 
		"Icon-72.png" , 
	    },
        },
    },
    
--    orientation =
--    {
--	default = "landscapeRight",
--	supported =
--	{
--	    "landscapeLeft", "landscapeRight",
--	},
--    },

    orientation =
    {
        default = "portrait",
        supported =
        {
            "portrait", "portraitUpsideDown"
        }
    },
}

 

I'll post that 50 lines that you asked for shortly.

 

(I even uploaded the file but don't know how I can privately give it to you guys, so let me know if you need the apk file.)

 

Thanks.



[TOPIC: post.html]
#15

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Here is all I could get from before and after attempt to installing that file:

 

:V/WindowManager(  243): Starting animation in AppWindowToken{41639950 token=Toke
n{415bbdc0 ActivityRecord{413b3e00 com.android.packageinstaller/.InstallAppProgr
ess}}} @ 20696703
D/OpenGLRenderer(26751): Flushing caches (mode 0)
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x51dad000 size:4177920 offs
et:2088960
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x5263b000 size:6266880 offs
et:4177920
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x52e11000 size:2088960 offs
et:0
I/ActivityManager(  243): Displayed com.android.packageinstaller/.InstallAppProg
ress: +173ms
I/ActivityManager(  243): Start proc com.android.defcontainer for service com.an
droid.defcontainer/.DefaultContainerService: pid=26773 uid=10018 gids={1015, 200
1, 5001}
D/MP-Decision(  829): UP Nw:2.700000 Tw:180 rq:3.900000 seq:196
W/ActivityManager(  243): No content provider found for permission revoke: file:
///mnt/sdcard/ext_sd/fail_test.apk
V/WindowManager(  243): Finished animation in AppWindowToken{41639950 token=Toke
n{415bbdc0 ActivityRecord{413b3e00 com.android.packageinstaller/.InstallAppProgr
ess}}} @ 20696926
D/MP-Decision(  829): DOWN Ns:2.100000 Ts:270 rq:0.600000 seq:273 (Up time:273)
W/ActivityManager(  243): No content provider found for permission revoke: file:
///mnt/sdcard/ext_sd/fail_test.apk
W/PackageParser(  243): Exception reading /data/app/vmdl-496869644.tmp
W/PackageParser(  243): java.io.IOException: Entry is not named
W/PackageParser(  243):         at java.util.jar.InitManifest.initEntries(InitMa
nifest.java:60)
W/PackageParser(  243):         at java.util.jar.Manifest.read(Manifest.java:221
)
W/PackageParser(  243):         at java.util.jar.Manifest.<init>(Manifest.java:1
20)
W/PackageParser(  243):         at java.util.jar.JarFile.getManifest(JarFile.jav
a:296)
W/PackageParser(  243):         at android.content.pm.PackageParser.collectCerti
ficates(PackageParser.java:536)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService.i
nstallPackageLI(PackageManagerService.java:7269)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService.a
ccess$1500(PackageManagerService.java:166)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService$5
.run(PackageManagerService.java:5699)
W/PackageParser(  243):         at android.os.Handler.handleCallback(Handler.jav
a:605)
W/PackageParser(  243):         at android.os.Handler.dispatchMessage(Handler.ja
va:92)
W/PackageParser(  243):         at android.os.Looper.loop(Looper.java:154)
W/PackageParser(  243):         at android.os.HandlerThread.run(HandlerThread.ja
va:60)
D/dalvikvm(  243): GC_EXPLICIT freed 3297K, 37% free 13067K/20579K, paused 6ms+1
0ms
D/InstallAppProgress(26751): Installation error code: -105
I/wpa_supplicant(17800): wpa_drv_scan: wpa_s->driver->scan2 = 0x64fc9
W/wpa_supplicant(17800): wlan0: [HTC] wpa_supplicant_event():2272- Got an origin
al EVENT_SCAN_RESULTS
I/wpa_supplicant(17800): Got an original EVENT_SCAN_RESULTS
I/wpa_supplicant(17800): [Lazycats] 30:85:a9:8c:64:3e freq=2462 qual=0 noise=0 l
evel=-54 flags=0x2b
I/wpa_supplicant(17800):    selected BSS 30:85:a9:8c:64:3e ssid='Lazycats'
I/wpa_supplicant(17800): Check WiFi offload status: wpa_s->vh_wifi_to_mobile:0 ,
wpa_s->vh_user_connect:0
I/wpa_supplicant(17800): Considering within-ESS reassociation
I/wpa_supplicant(17800): Current BSS: 30:85:a9:8c:64:3e level=-54
I/wpa_supplicant(17800): Selected BSS: 30:85:a9:8c:64:3e level=-54
I/wpa_supplicant(17800): Skip roam - too small difference in signal level
D/Tethering(  243): interfaceStatusChanged wlan0, true
I/InstallAppProgress(26751): Finished installing com.lazycat.shm
D/ConnectivityService(  243): onUidRulesChanged(uid=10170, uidRules=0)
D/ActivityManager(  243): Config after re-evaluted by window manager: null
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297) NafH
ttpAuthStrategyDefault()
I/APACHE HTTP (thCr=3297) - GbaSupportIndicatorRequestUpdaterDefault(26701): (th
Use=3297) GbaSupportIndicatorRequestUpdaterAbstract()   userHeaderPredefined=nul
l
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297)    c
ached value : gbaSupportIsPossible=null
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297)    T
he current context is NOT a context of GBA service.
I/APACHE HTTP (thCr=3297) - GbaSupportPermissionRequestCheckerImpl(26701): (thUs
e=3297) isCurrentProcessRequestedGba()#finished   result=false
I/APACHE HTTP (thCr=3297) - GbaSupportPermissionRequestCheckerImpl(26701): (thUs
e=3297) isCurrentProcessAllowedToUseGba()#started   result=false
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297)    T
he GBA permission wasn't requested for this process.
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297) It i
s impossible to support GBA now (many possible reasons: no Android Context, curr
ent client is GBA service, etc.), then it will be just usual HTTP.
I/APACHE HTTP (thCr=3297) - NafRequestExecutorWrapperRedirectionHandler(26701):
(thUse=3297)    It isn't GBA flow, redirection responses are not handled.
D/MP-Decision(  829): UP Nw:2.700000 Tw:180 rq:3.400000 seq:198
D/OpenGLRenderer(26751): Flushing caches (mode 0)
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x53124000 size:8355840 offs
et:6266880
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x5391c000 size:10444800 off
set:8355840
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x51dba000 size:2088960 offs
et:0
V/WindowManager(  243): Starting animation in AppWindowToken{416bbeb0 token=Toke
n{414f68f8 ActivityRecord{41367dc0 com.metago.astro/.MainActivity}}} @ 20703615
V/WindowManager(  243): Finished animation in AppWindowToken{416bbeb0 token=Toke
n{414f68f8 ActivityRecord{41367dc0 com.metago.astro/.MainActivity}}} @ 20703615
V/WindowManager(  243): Starting animation in AppWindowToken{41639950 token=Toke
n{415bbdc0 ActivityRecord{413b3e00 com.android.packageinstaller/.InstallAppProgr
ess}}} @ 20703615
D/ConnectivityService(  243): onUidRulesChanged(uid=10093, uidRules=0)
D/OpenGLRenderer(26751): Flushing caches (mode 1)
D/MP-Decision(  829): DOWN Ns:2.100000 Ts:270 rq:1.091743 seq:278 (Up time:426)
V/WindowManager(  243): Finished animation in AppWindowToken{41639950 token=Toke
n{415bbdc0 ActivityRecord{413b3e00 com.android.packageinstaller/.InstallAppProgr
ess}}} @ 20704031
D/BatteryService(  243): updateBatteryStats ====================================
==
I/BATT_RUB(  140): pd_M:0, MBAT_pd:4215, I_MBAT:41, pd_temp:0
I/BATT_RUB(  140): sff Ruby_calculate_level, forced_discharge_algo:0
I/BATT_ALG(  140): batt_alg_overtemp_check:temp:250, isOver_temp:0
I/BATT_ALG(  140): set_battery_voltage_alarm level=100, alarm_config=25, batt_al
arm_config=25
I/BATT_ALG(  140): vol=4215;curr=41;dis_curr=0;temp=250;id=2;level=100;chg_src=1
;chg_en=1;ov_chg=0;isOver_temp=0;timer=60;safety_count=120
D/BatteryService(  243): UEvent updateBatteryStats
D/HtcPowerSaver(  243): Recived battery changed intent.
D/UsbnetService(  243): BroadcastReceiver::onReceive+
D/UsbnetService(  243): onReceive BATTERY_CHANGED
D/UsbnetService(  243):  --> pluggedType = 2, mPluggedType = 0, mScreenOff = fal
se
D/UsbnetService(  243): BroadcastReceiver::onReceive-
D/HtcPowerSaver(  243): Checking...
I/HtcPowerSaver(  243): >> updateStatus
D/WifiService(  243): ACTION_BATTERY_CHANGED pluggedType: 2
D/NotificationService(  243): mIntentReceiver() Intent.ACTION_BATTERY_CHANGED
D/PowerManagerService(  243): runHtcPowerSaverCheck ============================
==========
D/PowerUI (  373): closing low battery warning: level=100
I/HtcPowerSaver(  243): currentStatus=8000, currentLevel=100, enableLevel=20, en
able=false, popDialog=false, statusChangeTo=-1
I/HtcPowerSaver(  243): << updateStatus
D/PackageManager(  243): Failed to get PackageInfo!, pkg:com.htc.demoflorebooter
, flags:1
D/PowerUI (  373): plugged = true, health = 2, mBatteryLevel = 100, mPluggedBatt
eryLevel = 100, mLowBatteryWarningLevel2 = 25, mshowLowChargingWarning2 = true
D/PackageManager(  243): Prime Intent:Intent { act=android.intent.action.VIEW da
t=file:///mnt/sdcard/ext_sd/fail_test.apk typ=application/vnd.android.package-ar
chive flg=0x10000000 }
I/ActivityManager(  243): START intent from pid 26701
D/ConnectivityService(  243): onUidRulesChanged(uid=10093, uidRules=0)
V/WindowManager(  243): Starting animation in AppWindowToken{416bbeb0 token=Toke
n{414f68f8 ActivityRecord{41367dc0 com.metago.astro/.MainActivity}}} @ 20705707
V/WindowManager(  243): Finished animation in AppWindowToken{416bbeb0 token=Toke
n{414f68f8 ActivityRecord{41367dc0 com.metago.astro/.MainActivity}}} @ 20705707
V/WindowManager(  243): Starting animation in AppWindowToken{41968e60 token=Toke
n{41386d98 ActivityRecord{40e15b48 com.android.packageinstaller/.PackageInstalle
rActivity}}} @ 20705707
W/memalloc(  122): /dev/pmem: No more pmem available
W/memalloc(  122): Falling back to ashmem
D/memalloc(  122): ashmem: Allocated buffer base:0x4329d000 size:2088960 fd:59
D/memalloc(26751): ashmem: Mapped buffer base:0x5263b000 size:2088960 fd:60
D/MP-Decision(  829): UP Nw:2.700000 Tw:180 rq:3.700000 seq:198
I/ActivityManager(  243): Displayed com.android.packageinstaller/.PackageInstall
erActivity: +161ms
D/OpenGLRenderer(26701): Flushing caches (mode 1)
W/InputManagerService(  243): Starting input on non-focused client com.android.i
nternal.view.IInputMethodClient$Stub$Proxy@41695498 (uid=10170 pid=26701)
D/OpenGLRenderer(26701): Flushing caches (mode 0)
D/memalloc(26701): /dev/pmem: Unmapping buffer base:0x540e0000 size:4177920 offs
et:2088960
D/memalloc(26701): /dev/pmem: Unmapping buffer base:0x54974000 size:6266880 offs
et:4177920
D/memalloc(26701): /dev/pmem: Unmapping buffer base:0x54f9f000 size:2088960 offs
et:0
D/memalloc(  243): /dev/pmem: Unmapping buffer base:0x58394000 size:8355840 offs
et:6266880
V/WindowManager(  243): Finished animation in AppWindowToken{41968e60 token=Toke
n{41386d98 ActivityRecord{40e15b48 com.android.packageinstaller/.PackageInstalle
rActivity}}} @ 20706136
D/ConnectivityService(  243): onUidRulesChanged(uid=10170, uidRules=0)
D/MP-Decision(  829): DOWN Ns:2.100000 Ts:270 rq:0.000000 seq:361 (Up time:361)
D/Process (  243): killProcessQuiet, pid=26438
I/ActivityManager(  243): No longer want com.htc.reportagent (pid 26438): hidden
 #16, adj=15
D/Process (  243): dalvik.system.VMStack.getThreadStackTrace(Native Method)
D/Process (  243): java.lang.Thread.getStackTrace(Thread.java:599)
D/Process (  243): android.os.Process.killProcessQuiet(Process.java:823)
D/Process (  243): com.android.server.am.ActivityManagerService.updateOomAdjLock
ed(ActivityManagerService.java:15132)
D/Process (  243): com.android.server.am.ActivityManagerService.updateOomAdjLock
ed(ActivityManagerService.java:15025)
D/Process (  243): com.android.server.am.ActivityManagerService.serviceDoneExecu
tingLocked(ActivityManagerService.java:12260)
D/Process (  243): com.android.server.am.ActivityManagerService.serviceDoneExecu
ting(ActivityManagerService.java:12230)
D/Process (  243): android.app.ActivityManagerNative.onTransact(ActivityManagerN
ative.java:723)
D/Process (  243): com.android.server.am.ActivityManagerService.onTransact(Activ
ityManagerService.java:1706)
D/Process (  243): android.os.Binder.execTransact(Binder.java:338)
D/Process (  243): dalvik.system.NativeStart.run(Native Method)
I/wpa_supplicant(17800): wpa_drv_scan: wpa_s->driver->scan2 = 0x64fc9
W/wpa_supplicant(17800): wlan0: [HTC] wpa_supplicant_event():2272- Got an origin
al EVENT_SCAN_RESULTS
I/wpa_supplicant(17800): Got an original EVENT_SCAN_RESULTS
I/wpa_supplicant(17800): [Lazycats] 30:85:a9:8c:64:3e freq=2462 qual=0 noise=0 l
evel=-55 flags=0x2b
I/wpa_supplicant(17800):    selected BSS 30:85:a9:8c:64:3e ssid='Lazycats'
I/wpa_supplicant(17800): Check WiFi offload status: wpa_s->vh_wifi_to_mobile:0 ,
wpa_s->vh_user_connect:0
I/wpa_supplicant(17800): Considering within-ESS reassociation
I/wpa_supplicant(17800): Current BSS: 30:85:a9:8c:64:3e level=-55
I/wpa_supplicant(17800): Selected BSS: 30:85:a9:8c:64:3e level=-55
I/wpa_supplicant(17800): Skip roam - too small difference in signal level
D/Tethering(  243): interfaceStatusChanged wlan0, true
I/ActivityManager(  243): START intent from pid 26751
D/PackageManager(  243): Failed to generate PackageInfo, PackageSettings is null
! pkg:com.lazycat.shm, flag:8192
I/ActivityManager(  243): Displayed com.android.packageinstaller/.InstallAppProg
ress: +104ms
V/WindowManager(  243): Starting animation in AppWindowToken{41968e60 token=Toke
n{41386d98 ActivityRecord{40e15b48 com.android.packageinstaller/.PackageInstalle
rActivity}}} @ 20716131
V/WindowManager(  243): Finished animation in AppWindowToken{41968e60 token=Toke
n{41386d98 ActivityRecord{40e15b48 com.android.packageinstaller/.PackageInstalle
rActivity}}} @ 20716131
V/WindowManager(  243): Starting animation in AppWindowToken{418f9bd0 token=Toke
n{410b1778 ActivityRecord{412da260 com.android.packageinstaller/.InstallAppProgr
ess}}} @ 20716131
D/OpenGLRenderer(26751): Flushing caches (mode 0)
W/ActivityManager(  243): No content provider found for permission revoke: file:
///mnt/sdcard/ext_sd/fail_test.apk
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x52dbb000 size:10444800 off
set:8355840
D/memalloc(26751): /dev/pmem: Unmapping buffer base:0x52868000 size:2088960 offs
et:0
D/memalloc(  122): ashmem: Freeing buffer base:0x4329d000 size:2088960 fd:59
V/WindowManager(  243): Finished animation in AppWindowToken{418f9bd0 token=Toke
n{410b1778 ActivityRecord{412da260 com.android.packageinstaller/.InstallAppProgr
ess}}} @ 20716358
W/ActivityManager(  243): No content provider found for permission revoke: file:
///mnt/sdcard/ext_sd/fail_test.apk
W/PackageParser(  243): Exception reading /data/app/vmdl-1049616025.tmp
W/PackageParser(  243): java.io.IOException: Entry is not named
W/PackageParser(  243):         at java.util.jar.InitManifest.initEntries(InitMa
nifest.java:60)
W/PackageParser(  243):         at java.util.jar.Manifest.read(Manifest.java:221
)
W/PackageParser(  243):         at java.util.jar.Manifest.<init>(Manifest.java:1
20)
W/PackageParser(  243):         at java.util.jar.JarFile.getManifest(JarFile.jav
a:296)
W/PackageParser(  243):         at android.content.pm.PackageParser.collectCerti
ficates(PackageParser.java:536)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService.i
nstallPackageLI(PackageManagerService.java:7269)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService.a
ccess$1500(PackageManagerService.java:166)
W/PackageParser(  243):         at com.android.server.pm.PackageManagerService$5
.run(PackageManagerService.java:5699)
W/PackageParser(  243):         at android.os.Handler.handleCallback(Handler.jav
a:605)
W/PackageParser(  243):         at android.os.Handler.dispatchMessage(Handler.ja
va:92)
W/PackageParser(  243):         at android.os.Looper.loop(Looper.java:154)
W/PackageParser(  243):         at android.os.HandlerThread.run(HandlerThread.ja
va:60)
D/dalvikvm(  243): GC_EXPLICIT freed 1160K, 37% free 12999K/20579K, paused 9ms+1
0ms
D/InstallAppProgress(26751): Installation error code: -105
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297) NafH
ttpAuthStrategyDefault()
I/APACHE HTTP (thCr=3297) - GbaSupportIndicatorRequestUpdaterDefault(26701): (th
Use=3297) GbaSupportIndicatorRequestUpdaterAbstract()   userHeaderPredefined=nul
l
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297)    c
ached value : gbaSupportIsPossible=null
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297)    T
he current context is NOT a context of GBA service.
I/APACHE HTTP (thCr=3297) - GbaSupportPermissionRequestCheckerImpl(26701): (thUs
e=3297) isCurrentProcessRequestedGba()#finished   result=false
I/APACHE HTTP (thCr=3297) - GbaSupportPermissionRequestCheckerImpl(26701): (thUs
e=3297) isCurrentProcessAllowedToUseGba()#started   result=false
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297)    T
he GBA permission wasn't requested for this process.
I/APACHE HTTP (thCr=3297) - NafHttpAuthStrategyDefault(26701): (thUse=3297) It i
s impossible to support GBA now (many possible reasons: no Android Context, curr
ent client is GBA service, etc.), then it will be just usual HTTP.
I/APACHE HTTP (thCr=3297) - NafRequestExecutorWrapperRedirectionHandler(26701):
(thUse=3297)    It isn't GBA flow, redirection responses are not handled.
I/wpa_supplicant(17800): wpa_drv_scan: wpa_s->driver->scan2 = 0x64fc9
W/wpa_supplicant(17800): wlan0: [HTC] wpa_supplicant_event():2272- Got an origin
al EVENT_SCAN_RESULTS
I/wpa_supplicant(17800): Got an original EVENT_SCAN_RESULTS
I/wpa_supplicant(17800): [Lazycats] 30:85:a9:8c:64:3e freq=2462 qual=0 noise=0 l
evel=-54 flags=0x2b
I/wpa_supplicant(17800):    selected BSS 30:85:a9:8c:64:3e ssid='Lazycats'
I/wpa_supplicant(17800): Check WiFi offload status: wpa_s->vh_wifi_to_mobile:0 ,
wpa_s->vh_user_connect:0
I/wpa_supplicant(17800): Considering within-ESS reassociation
I/wpa_supplicant(17800): Current BSS: 30:85:a9:8c:64:3e level=-54
I/wpa_supplicant(17800): Selected BSS: 30:85:a9:8c:64:3e level=-54
I/wpa_supplicant(17800): Skip roam - too small difference in signal level
D/Tethering(  243): interfaceStatusChanged wlan0, true

Please let me know how I can be of any further help.

 

Thanks.



[TOPIC: post.html]
#16

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Dear Rob,

 

Any news on this?



[TOPIC: post.html]
#17

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Hi Aidin.  I just reported it to them last night after you posted the logcat info.  I would not expect them to see the message until they come into work on Monday, and then it will have to be queued up with the rest of their work. 



[TOPIC: post.html]
#18

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Hi Aidin.  I just reported it to them last night after you posted the logcat info.  I would not expect them to see the message until they come into work on Monday, and then it will have to be queued up with the rest of their work. 

 

Thanks man, so I'll wait.

 

Anything I can do in the meanwhile? Like reinstalling JRE? Does build #1135 still use 32-bit version of JRE 6 or it's now using JRE 7?

 

Thanks again.



[TOPIC: post.html]
#19

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Build 1135 should work with JRE 7. I don't fully understand all the keystore issues that can happen, but I know if you get an older keytool in the path.  You can try to do the command:

 

java -version

 

and see what it says. 

 

Also, humor me and try to and build the hello world sample app and see what happens.



[TOPIC: post.html]
#20

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Here are a couple of more thought's from engineering.

 

How are you installing your app via the PC?

How are you installing your app via the Mac?

 

You say you have the Android SDK on your PC but it doesn't sound like you have it on your Mac.  Is there a reason you don't have it on your Mac?    We are wondering if your method of putting it on your device is getting the APK corrupted some how.



[TOPIC: post.html]
#21

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Build 1135 should work with JRE 7. I don't fully understand all the keystore issues that can happen, but I know if you get an older keytool in the path.  You can try to do the command:

 

java -version

 

and see what it says. 

 

Also, humor me and try to and build the hello world sample app and see what happens.

 


I'll those it in a couple of hours that I reach the Mac.

 

Thanks.



[TOPIC: post.html]
#22

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Here are a couple of more thought's from engineering.

 

How are you installing your app via the PC?

How are you installing your app via the Mac?

 

You say you have the Android SDK on your PC but it doesn't sound like you have it on your Mac.  Is there a reason you don't have it on your Mac?    We are wondering if your method of putting it on your device is getting the APK corrupted some how.

 


I'm installing on PC with AirDroid but on the Mac I attach a cable and transfer the APK directly to the device's internal SD card, as we don't have WiFi on where we have the Mac.

 

I have Android SDK on my PC because I used to work with Unity and it required having it on my PC to get builds but since I switched to Corona SDK, I also have access to a Mac and thus did not have reason to install Android SDK on it. (it's very hard to download Android SDK here due to very very poor internet connection, but if it's required, I'll try to do it.)

 

Let me know what I can do to further assist engineers.

 

Thanks again.



[TOPIC: post.html]
#23

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,781 posts
  • Enterprise

Let me re-ask the question, with your device tethered to your Mac using a USB cable, how are you installing the app?  Using adb install?  some other method?



[TOPIC: post.html]
#24

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Let me re-ask the question, with your device tethered to your Mac using a USB cable, how are you installing the app?  Using adb install?  some other method?

 


I copy the APK file over my phone's external SD card directory, then browse it via a file manager like ASTRO manager and then install it.



[TOPIC: post.html]
#25

Aidin

[GLOBAL: userInfoPane.html]
Aidin
  • Contributor

  • 401 posts
  • Corona SDK

Also when I brought back the APK that I got build from Mac to home and copied it via cable to phone, the way I described in my previous post, it won't install either.




[topic_controls]
Page 1 of 3 1 2 3
 
[/topic_controls]