Hybrid View
-
29 Nov 2012 11:42 AM #1
Answered: native application not working
Answered: native application not working
Hello,
i created my first application with sencha touch , the application work fine with navigator in my computer and also in Android emulator,
so i created my native application using
">sencha package run configTemplate.json"
after that i get no message error or succ
--
C:\xampp\htdocs\app\app5\build\Myapp\production>sencha package run configTemplate.json
Sencha Cmd v3.0.0.250
C:\xampp\htdocs\app\app5\build\Myapp\production>
----
but the apk file created,so i installed my apk in the emulator.
but i get a blue screen with 3 point in the center. and nothing work.
i tried to run the application but i have the same problem.
___to some up
my application work fine in navigator , but when i created the native application i get blue screen with 3 point
i included 2 photos
plzz help me,
thank u so much
-
Best Answer Posted by ingo.hefti
have you tried renaming your configTemplate.json to packager.json and then run "sencha app build native" from within the app directory (not a subdirectory of it)?
If that doesn't work, then you probably have a problem with the packager.json content. Post it here so we can have a look.
-
30 Nov 2012 12:21 AM #2
Name: Android 4.2
Type: Platform
API level: 17
-
30 Nov 2012 12:48 AM #3Sencha Premium Member
- Join Date
- Feb 2012
- Location
- Berne, Switzerland
- Posts
- 591
- Vote Rating
- 34
- Answers
- 35
Are you on the latest ST 2.1 version?
No errors nor warnings on the console before packing it?
I do "sencha app build native" from within my app directory and never have problems building my apps... (of course packager.json must be up to date). And I also have a device with Android V4.2.1...
-
30 Nov 2012 12:59 AM #4
yeah
i have the last version ST & CMD
i use the command
sencha package run configTemplate.json
it show nothing no error no succ !!!!
but the APK has been created , and when i try to test it in the sdk android , it show blue screen with 3 point u can see the photos...
i tested other exemple but the same probleme !!!
-
30 Nov 2012 1:03 AM #5
Code:{ "applicationName":"app", "applicationId":"com.mycompany.app", "versionString":"1.0", "versionCode":"1", "icon": { "57":"resources/icons/Icon.png", "72":"resources/icons/Icon~ipad.png", "114":"resources/icons/Icon@2x.png", "144":"resources/icons/Icon~ipad@2x.png" }, "inputPath":"./", "outputPath":"../build/", "configuration":"Debug", "platform":"AndroidEmulator", "certificatePath":"tarik.keystore", "certificateAlias": "tarik", "certificatePassword":"tarikk", "provisionProfile":"", "sdkPath":"../sdk", "androidAPILevel":"17", "permissions":[ "INTERNET", "ACCESS_NETWORK_STATE", "CAMERA", "VIBRATE", "ACCESS_FINE_LOCATION", "ACCESS_COARSE_LOCATION", "CALL_PHONE"], "orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ] }
-
30 Nov 2012 1:03 AM #6Sencha Premium Member
- Join Date
- Feb 2012
- Location
- Berne, Switzerland
- Posts
- 591
- Vote Rating
- 34
- Answers
- 35
-
30 Nov 2012 1:12 AM #7
no errors at all, all works fine .
the problem is not in the code source,cuz i tested the exemple of sencha, and i have the same problem.
the 2 commands that i use ,
sencha app build production
sencha package build configTemplate.json
and no errors again,
thank u for the reply


Reply With Quote