2016년 12월 28일 수요일

Trouble Shooting Deployment on tablets and phones


Recently we built an app.  We are having trouble to load it on different phones but it works on tablets.

Any suggestion to this.  Is it because of the app size (~11M)?  Where do we start?

--
so you were able to install the apk file of your app on the different devices successfully?

We are having trouble to load it 

what exactly does this mean? what happens exactly?

how does the Screen1.Initialize event look like? any screenshot?
how many screens do you use? how many images, videos, audio files?
did you reduce the image sizes according to Using Images with App Inventor
  
-- 
Thanks for the quick response.

I used the wrong terminology.  In fact, the app was installed successfully but it would not run on phones but works on tablets.  It has a message like "Unfortunately, the app has stopped" with no further explanation.

Wondering besides the image sizes, could it be the programming too?

--
to find out more about the Runtime Error, you can use Logcat

I normally use Eclipse and Logcat there, but if you have installed the App Inventor Software (see also http://appinventor.mit.edu/explore/ai2/setup-emulator.html), you already have everything you need to use logcat...

How to use Logcat

1. connect your device using USB with your computer
2. in File Manager go to the App Inventor directory, which is  C:\Program Files\App Inventor or similar
3. press Shift and right mouse click the subdirectory commands-for-Appinventor to get the context menu
4. select "open command window here" and you will get a command window of that subdirectory
a) enter adb logcat and the logcat will start running
b) start your app to elicit the error
c) copy the log (see below)

To copy your log, right click, click "select all" and enter to copy the complete log into the clipboard, then open Notepad and paste it using ctrl-v.

-- 

댓글 1개:

  1. Hiii Friends,looking to the best image size reducer and optimize your images ,there are a new and easily use online webaite https://optimizejpeg.com to reduce your image size and optimize your images easily without lossinh quality.

    답글삭제