Error: Template not Found. Older Build: 2014.2223

Leave the -s off of the adb install command.  See what that does?  I don’t know how supported Corona SDK is when installed on the SD card.

Rob

Still not working for AT&T LG505 Android 2.3.4.

As you suggested, I removed the ‘-s’ from the adb install, using: adb install test.apk

The console responded:

     1436 KB/s (6427349 bytes in 2.764s)

          pkg: /data/local/tmp/test.apk

     Success

The test.apk with the Corona icon showed just as before. When I ran it, the result was the same when I ran it, sorry to say.

     Sorry!

     The application test (process com.gmail.troylyndon.test) has stopped unexpectedly. Please try again. (“Force close” button)

BTW, I downloaded File Manager using Google Play - no problem, their app runs fine. So this problem is clearly “Corona” specific.

Thank you for helping with this.

Kindly,

-Troy

I’ll ask engineering to look at the log file and see if anything stands out.  Is your phone jail broken? 

Rob

Can you confirm that you have tried to build our unedited HelloWorld sample app directly in Corona Simulator (no IDE’s or 3rd party tools in the way) and you’re getting this error?

Rob

Hi Rob,

My AT&T LG P505 was purchased “used” without a sim card, set to factory settings. I acquired an SD Card so that I could store data on it.

As an AT&T phone, it wouldn’t have to be ‘jailbroken’ - only ‘unlocked’. But I wouldn’t know if it was ‘unlocked’ until I were to insert a non-AT&T sim card. But I don’t use the phone - it is only a device for testing Android 2.3.4 on the LG P505 platform.

For example, the phone App works - however, when I type in a phone number to call, when I press the send button, it simply says “Mobile network not available.” No error like the one we see where the OS crashes.

As I mentioned before, other apps downloaded from Google Play work absolutely fine on this device.

So, unless there is specific code accessing the sim card or phone features, Corona should work fine. But it doesn’t.

Other apps running doesn’t prove anything.  We want to help you.  Please go to the SampleCode/GettingStarted/HelloWorld folder and build that app.  Do not make any changes to it.  Install it and post the full adb console log from it if it fails to install.

We can’t help you further until you do this step and confirm you did it.  I’ve asked several times that you do this and you have yet to confirm that process.

Rob

Hi Rob,

I found the tutorial at: http://docs.coronalabs.com/legacy/guide/start/helloWorld/index.html.

Although the following represents the code, WHERE are the image files so that I can build it with the proper images?

print( “Hello World!” )

local myTextObject = display.newText( “Hello World!”, 50, 50, “Arial”, 60 )

myTextObject:setTextColor( 255, 0, 0 )

function screenTap()
    local r = math.random( 0, 255 )
    local g = math.random( 0, 255 )
    local b = math.random( 0, 255 )
    myTextObject:setTextColor( r, g, b )
end

display.currentStage:addEventListener( “tap”, screenTap )

local physics = require( “physics” )
physics.start()

local sky = display.newImage( “bkg_clouds.png” )
sky.x = 160; sky.y = 195

local ground = display.newImage( “ground.png” )
ground.x = 160; ground.y = 445

physics.addBody( ground, “static”, { friction=0.5, bounce=0.3 } )

local crate = display.newImage( “crate.png” )
crate.x = 180; crate.y = -50; crate.rotation = 5

physics.addBody( crate, { density=3.0, friction=0.5, bounce=0.3 } )

Kindly,

-Troy

Troy, you have to use the sample project that is included with Corona. Look in your Corona directory. SampleCode/GettingStarted/HelloWorld

Hi Rob,

Here is the log beginning just before I run HelloWorld until it brings up the Sorry message with a Force Close button.

--------- beginning of /dev/log/main
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-56 iconLevel=5,  asu_Ecio=-4 iconLevel_ecio=5
--------- beginning of /dev/log/system
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-55 iconLevel=5,  asu_Ecio=-5 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/DATA    ( 1670): <!>com.android.internal.telephony.DataServiceStateTracker 1085<!> [DSST] pollstate() : reason = data network state changed
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 919<!> EVENT_POLL :6
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 919<!> EVENT_POLL :4
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 982<!> EVENT_POLL_STATE_REGISTRATION.  regState: 3
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 919<!> EVENT_POLL :14
I/DATA    ( 1670): <!>com.android.internal.telephony.DataServiceStateTracker 1090<!> [DSST] Data Registration denied : General
D/DATA    ( 1670): <!>com.android.internal.telephony.DataServiceStateTracker 1085<!> [DSST] Poll ServiceState done: oldSS=[1 home null null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false]
D/DATA    ( 1670): <!>com.android.internal.telephony.DataServiceStateTracker 1085<!> [DSST] pollstate() : reason = data network state changed
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-56 iconLevel=5,  asu_Ecio=-8 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 919<!> EVENT_POLL :6
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 919<!> EVENT_POLL :4
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 982<!> EVENT_POLL_STATE_REGISTRATION.  regState: 3
D/brighthy_log: <!>com.android.internal.telephony.gsm.GsmServiceStateTracker 919<!> EVENT_POLL :14
I/DATA    ( 1670): <!>com.android.internal.telephony.DataServiceStateTracker 1090<!> [DSST] Data Registration denied : General
D/DATA    ( 1670): <!>com.android.internal.telephony.DataServiceStateTracker 1085<!> [DSST] Poll ServiceState done: oldSS=[1 home null null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false] newSS=[1 home null null null  Unknown CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false]
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-53 iconLevel=5,  asu_Ecio=-6 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-53 iconLevel=5,  asu_Ecio=-4 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-50 iconLevel=5,  asu_Ecio=-4 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-48 iconLevel=5,  asu_Ecio=-3 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
I/ActivityManager( 1562): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.gmail.troylyndon.HelloWorld/com.ansca.corona.CoronaActivity } from pid 1686
I/ActivityManager( 1562): Start proc com.gmail.troylyndon.HelloWorld for activity com.gmail.troylyndon.HelloWorld/com.ansca.corona.CoronaActivity: pid=4548 uid=10077 gids={}
I/ActivityThread( 4548): <!>android.app.ActivityThread 3312<!> Pub com.gmail.troylyndon.HelloWorld.files: com.ansca.corona.storage.FileContentProvider
W/dalvikvm( 4548): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/ansca/corona/JavaToNativeShim;
W/dalvikvm( 4548): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/ansca/corona/CoronaEnvironment;
W/dalvikvm( 4548): threadid=1: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 4548): FATAL EXCEPTION: main
E/AndroidRuntime( 4548): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 4548):     at com.ansca.corona.CoronaActivity.onCreate(CoronaActivity.java:101)
E/AndroidRuntime( 4548):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 4548):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
E/AndroidRuntime( 4548):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
E/AndroidRuntime( 4548):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 4548):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime( 4548):     at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4548):     at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4548):     at android.app.ActivityThread.main(ActivityThread.java:3729)
E/AndroidRuntime( 4548):     at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4548):     at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 4548):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
E/AndroidRuntime( 4548):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
E/AndroidRuntime( 4548):     at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4548): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 4548):     at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:322)
E/AndroidRuntime( 4548):     at com.ansca.corona.CoronaEnvironment.<clinit>(CoronaEnvironment.java:50)
E/AndroidRuntime( 4548):     … 14 more
E/AndroidRuntime( 4548): Caused by: java.lang.UnsatisfiedLinkError: Couldn’t load lua: findLibrary returned null
E/AndroidRuntime( 4548):     at java.lang.Runtime.loadLibrary(Runtime.java:429)
E/AndroidRuntime( 4548):     at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 4548):     at com.ansca.corona.JavaToNativeShim.<clinit>(JavaToNativeShim.java:117)
E/AndroidRuntime( 4548):     … 16 more
W/ActivityManager( 1562):   Force finishing activity com.gmail.troylyndon.HelloWorld/com.ansca.corona.CoronaActivity
W/ActivityManager( 1562): Activity pause timeout for HistoryRecord{4097d738 com.gmail.troylyndon.HelloWorld/com.ansca.corona.CoronaActivity}
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-47 iconLevel=5,  asu_Ecio=-3 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-48 iconLevel=5,  asu_Ecio=-4 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
D/StatusBarPolicy( 1646): <!>com.android.systemui.statusbar.policy.StatusBarPolicy 1331<!> [BRIGHTHY] asu=-49 iconLevel=5,  asu_Ecio=-3 iconLevel_ecio=5
D/StatusBarPolicy( 1646): [BRIGHTHY] curNetwork= curHPLMN=
I/WifiStateTracker( 1562): <!>android.net.wifi.WifiStateTracker 1306<!> [WifiStateTracker] handleMessage EVENT_POLL_INTERVAL
 

We tested it on several devices today and we are not encountering this issue.  I’m hoping for more info from Engineering because you clearly are having this error, but we can’t reproduce it.

Rob

Can you confirm what processor is in your phone (CPU).  Several sources say that its running a Snapdragon S1.  Another source says its a rebrand of the LG Optimus One which lists the CPU as an ARM11.  In either case, both are ARMv6 architecture chips.  I saw one source that claimed it was an ARM9 which is an ARMv7 family chipset.   Corona SDK does not support ARMv6 chips, only ARMv7.   We have tested it on a range of Android processors and it’s working as expected.

Rob

Hi Rob,

Thank you for helping to track down this problem.

Yes, I can confirm it has a Snapdragon ARM11 processor. See here: http://www.gsmarena.com/lg_phoenix_p505-3924.php

So is that the answer? Corona doesn’t support the ARMv6 processor or anything based upon it?

If this is the answer, are there any other processor or other Corona limitations we should know about?

Very kindly as always,

Troy

Intel Atom processors support an emulation mode.  I don’t know how officially we support it, but it works on the couple of devices we have, but there is another active forum thread right how where it’s not working, so for Atom, its “Your mileage may vary”.  The only official chipset is ARMv7. 

Rob

Hi Rob,

  1. Please forgive my lack of understanding, but what does “Your mileage may vary” mean?

  2. Am I to understand that only ARMv6 processors are not supported?

  3. What other SnapDragon versions are not supported?

Very kindly as always,

Troy

Sorry for the cliche.   “Your mileage may vary” is a term used by US automobile dealers when they tell you the kind of gas mileage your car should get, but they add the disclaimer basically meaning “it may be different for you and we the car company doesn’t guarantee you will get the same results”.   The Computer industry and taken that cliche to simply mean “It might work for, it might not.  No guarantees.”   In this case, it might run for some of your customers on Atom processors and for other customers it may not.

The only officially supported chipset is ARMv7.  This seems to be the best list of processors:

http://en.wikipedia.org/wiki/List_of_ARM_microarchitectures

Only ones that say ARMv7 under ARM Architecture are supported.  SnapDragon is a brand name owned by QUALCOMM.  However there are multiple variants.  Some are compatible, others are not. 

Rob

Hi Rob,

In trying to get a handle on what is not supported, although ARM7 is supported, what about ARM8, ARM9, ARM10, ARM11?

And how about the more modern “Cortex” cores which represent cores of the past decade?

I was just reviewing the graph near the bottom of the page from the link you provided.

Kindly as always,

Troy

It’s kinda hard to understand and ARM did this to themselves.

When you see ARM and a number, it’s referring to a specific chip.  Kinda like in the early Intel days there was the 8086, 80286, 80386 etc.  They all basically spoke the same binary machine language, just each chip had more goodies and was faster.  But at the same time the 8086 was out, there was also the Z80 and the 68000.  What would seem like English to one CPU would sound like Russian to another CPU.  This is a term called architecture and I tend to also call it the chipset (the set of verbs and nouns that make up the machine language).

In ARM’s case, they have multiple architectures:  ARMv1, v2 … ARMv6, ARMv7 and ARMv8.  Notice the lower case “v”.   ARMv6 understands one language, ARMv7 a different language and so on.   Where ARM went nuts is they named the chips with a similar scheme  ARM and a number… no “v”).     So there is an ARM7 chip and an ARMv7 architecture and they are not the same.

On the WikiPedia link I provided, you will find the common name of the CPU in the left most column.  The architecture is listed in the 2nd column.  Any chip that has ARMv7 or ARMv7-A listed in the 2nd column is good.  The various Android stores should filter out devices for you.  In other words Google Play will not offer a Corona SDK built app to someone with an incompatible processor.  Where it’s an issue is with you’re testing since you’re bypassing the stores ability to filter based on chipset.

Hi Rob,

Any news regarding this issue ?

Thank you,

-Bobby

It’s on our list to fix, but it may be a few more weeks before we get to it.

Rob

Hi Rob;

Thanks for the info. Looking forward to the fix. I have thousands of Nook Color users . . . and some of them are beginning to e-mail questions such as “het, my sister has Just Jumble and has over 500 puzzles on her iPhone after the January update. Why do i only have 435? When is the Nook update?”

Thanks;

Steve