Sencha touch application remains on the blue boot screen when viewed on an Android device or emulator

I just created a basic sencha application from

sencha generate app --name AndroidDemo --path ../demo

and I viewed it in a browser, and everything is perfect. Then I followed these instructions: http://www.sencha.com/blog/android-setup-for-sencha-touch/

and compiled the application with Sencha Cmd, and when the emulator opens, I get only a blue loading screen.

I also tried to compile / create a telephone service application on the telephone mail assembly site, and the assembly is successful and after downloading the application on my andoid device again I see only the download page and it remains on this page and the application does not work launch.

I don’t know at all. You need your friends.

Thanks,

enter image description here

+4
3

, log cat , .

0

. ( , )

, , ( , ): , adb.

mac, , ?

  • sencha cmd, cmd/terminal . , apk :
    "\--\MYAPPNAME\packager.json \"

  • , .

  • / , apk:

adb install -r MYAPPNAME.apk

  • , , . , , .

, . ( Android-/sencha, , , , . haha)

, , :)

0

, , .

, ...

Ext.Image

... .

...

Sencha app build xxx

... Sencha touch/src.

, , , Sencha .

, :

[WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.MessageBox';
consider adding 'Ext.MessageBox' explicitly as a require of the 
corresponding class

App.js , ( Ext.Messagebox).

, , - ( localhost/myapp/index.html localhost/myapp/build/{package}/{myapp }/index.html).

There is one more thing that can happen. Its scope of asynchronous operations. Like this:

 Ext.defer(function() {this.log(‘all good’);}, 500);

this is not the area of ​​your class. You need to use:

Ext.defer(function() {this.log(‘all good’);}, 500, this);

Or you can even use ...

Ext.bind()

... to bind a region to a function.

0
source

All Articles