Android: Missing APK file

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
bhall2001
Posts: 109
Joined: Thu Oct 30, 2014 3:54 pm

Android: Missing APK file

Post by bhall2001 » Thu Oct 30, 2014 4:33 pm

As I am basically a complete beginner and using LC Community, I'm posting an Android question here. If it's the wrong place I apologize in advance and will move to the Android topic.

I decided to do a very simple stack to put on an Android emulator (main stack with 1 label on it that says "Hello"). LC 6.7 on Mac OS 10.9.5 using Eclipse for my Android SDK that just downloaded yesterday. I think I have everything in LC setup with the paths as I do have a path for the SDK and for Java in the preferences. I created an AVD and fired it up and can see a Virtual Android phone (and use it). In the standalone application settings I have only selected Android. In my development menu under test target I see and select the Android VM that I created in the SDK.

The issue is when I select Test for the stack, it appears as though the normal standalone build process occurs. However I get an error that states the following:

"Installation of App failed: Missing APK file"

I must be missing a setting somewhere but I am not able to figure it out. I just installed on a 2nd mac and have the exact same issue. Looking for suggestions on what I did wrong and need to fix to get an LC android app going.

Thanks in advance,
Bob

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Android: Missing APK file

Post by LCNeil » Thu Oct 30, 2014 4:42 pm

Hi Bob,

There have been a few issues with the latest Android SDK and current versions of LiveCode. We are hoping to have a fix for these in the next release.

A workaround until these issues are resolved is discussed in the following forum post-

http://forums.livecode.com/viewtopic.php?f=7&t=13889

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.runrev.com
--

bhall2001
Posts: 109
Joined: Thu Oct 30, 2014 3:54 pm

Re: Android: Missing APK file

Post by bhall2001 » Thu Oct 30, 2014 10:08 pm

I used the dropbox method to get the app onto my real phone and it worked fine. What's weird is, for whatever reason it was a cool feeling to see the word "Hello" on my phone and to know that I put it there! Now, I'm hooked and off to write some apps that the world didn't know they needed ;-) I'll be waiting patiently for the next update but for now, dropbox is an ok solution for me to dabble.

Thanks,
Bob

MrAlobar
Posts: 70
Joined: Mon Dec 08, 2014 6:42 pm

Re: Android: Missing APK file

Post by MrAlobar » Wed Dec 10, 2014 4:19 pm

I have also encountered the missing APK problem...

I have created an app and installed it on my own physical device - and it works.
I cannot successfully conduct a test using a virtual device.

There is a method to manually install the app on to the virtual device - this might be useful to some (apologies if it has already been posted)...

1. copy the apk file to the android 'platform tools' directory - this is the folder containing adb.exe
2. go to the command prompt and run adb install name of your app
3. open your virtual machine and see your app installed

Notes for use of command prompt..
- if there are brackets (or other special characters) in the directory name then enclose in single quotes
- if adb doesn't run then try .\adb

(my set-up is Windows 8.1 and SDK installed as advised to avoid the manifest problem)

Like many newbies I have spent longer trying to get the tools to work than learning Live Code - feel more like a system administrator than an app developer !
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it :?

Post Reply