niteshmourya / app-inventor-for-android

Automatically exported from code.google.com/p/app-inventor-for-android
Apache License 2.0
2 stars 0 forks source link

46 media files make app not work with 'Connect to phone' #691

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If i load >45 media files and try to launch the app from the blocks windows to 
the emulator, it crash. I'm using windows xp and firefox. If i donload the app 
to th pc and then send to the emulator by email, i can install and run it with 
no problems.

Original issue reported on code.google.com by juan...@gmail.com on 10 Nov 2010 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by halabel...@google.com on 11 Nov 2010 at 4:42

GoogleCodeExporter commented 9 years ago
An update on this, I'm doing a deck of cards, each card is only 1000 bytes, 
4096 bytes on disk, Total size is 34,709 bytes, (229,376 bytes on disk). 49 
will load into the emulator or down to the phone from the blocks editor but not 
50+. If I package it into an .apk it works fine with all 52 cards.

Ed

in Java Console I get

Trying to push asset 
C:\Users\EDTRAD~1\AppData\Local\Temp\aia5279383517090761326.png to phone at: 
/sdcard/AppInventor/assets/dq.png
yacodeblocks.AndroidControllerException: Unable to get SyncService for device
    at com.google.devtools.ode.youngandroid.YaCodeblocksAndroidController.pushFileToPhone(YaCodeblocksAndroidController.java:360)
    at yacodeblocks.PhoneCommManager.psPushAssetToPhone(PhoneCommManager.java:586)
    at yacodeblocks.PhoneCommManager.psPushAssetsToPhone(PhoneCommManager.java:618)
    at yacodeblocks.PhoneCommManager.psReplControllerRestart(PhoneCommManager.java:483)
    at yacodeblocks.PhoneCommManager.access$700(PhoneCommManager.java:25)
    at yacodeblocks.PhoneCommManager$5.run(PhoneCommManager.java:371)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

with this error from the Blocks Editor
Error sending media file to the phone:
Unable to get SyncService for device

and from Microsoft Visual C++ Runtime Library
This application has requested the Runtime to terminate it in an unusual way.

Original comment by Ed.Joybe...@gmail.com on 14 Dec 2010 at 11:58

GoogleCodeExporter commented 9 years ago
Im having the same problem, thank god someone knows about it. I actually posted 
about my problem in a new thread, wish I wouldve seen this first, starred. Need 
this fixed, it sucks downloading the app to pc then to phone everytime when I 
want to test something. I still glad appinventor is here though. Still love it 
but need this fixed.

Original comment by gardner...@gmail.com on 23 Dec 2010 at 2:59

GoogleCodeExporter commented 9 years ago
I'm getting the same error with 65 images. 

Windows 7
HTC Hero
Android 2.2

Original comment by dmetx1...@gmail.com on 23 Dec 2010 at 5:47

GoogleCodeExporter commented 9 years ago
Same issue with 45+ image files on HTC EVO using Windows 7 and Chrome/Sun Java 
blocks editor. A fix would be great for this.

Original comment by mikef...@gmail.com on 3 Jan 2011 at 1:03

GoogleCodeExporter commented 9 years ago
Same here ... I have 68 flattened PNG files totalling 650Kb. Tried to add a new 
image to the canvas. "Bitmap size exceeds VM budget". Reduced the image size of 
the existing images and deleted some; total image size in package down to 
550Kb. Then added a new image of 10Kb ... same error. Seems it has to do with 
the amount of images and not the image size.

Please fix this, thanks.

Android 2.2 (Nexus one)
HTC HD2

Original comment by enginetw...@gmail.com on 18 Mar 2011 at 7:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue 986 has been merged into this issue.

Original comment by yonglinw...@gmail.com on 11 Mar 2012 at 5:33

GoogleCodeExporter commented 9 years ago
I add 30 images and it has the same error...

try it with 10, no go, same error...

Original comment by mcleona...@gmail.com on 12 Jul 2013 at 5:56