I just finished using app inventor 2 at school, and I'm now trying to work on my project at home (Mac OSX 1.6.8). I've downloaded the emulator, following all the instructions on the website, but when i tried to test the app, the emulator wouldn't open.
P.S. If you have any questions on the specifics on my computer specs, or what I did, feel free to ask.
We assume you followed the instructions here: http://appinventor.mit.edu/ explore/ai2/setup-emulator. html and, in Step 1, went to this link: http://appinventor.mit.edu/ explore/ai2/mac.html Is that what you did?
If you have a Bluestacks Android emulator on your Mac, it will inhibit the ability of AI2 to run. To get the emulator working in that case, you must disable Bluestacks.
If you have a project that you built previously and it falls in one of the following categories, you need to fix the Project.
One of the following probably applies to your code (all may not apply to your code):
1) You have coding errors in your blocks. In the Blocks editor, look in the lower left
for the yellow and red triangle icons. If the red icon has a value larger than 0, you
have a serious coding error. Find the block in your code that has a red triangle and
fix it. Red triangles always inhibit creating an apk or running a project in the
emulator or possibly creating an aia file. Yellow triangles are more forgiving,
however, sometimes, these need to be fixed because they trip an internal warning and you
do not get a compile, so fix the yellow triangles too.
2) Your source file (the aia file) is larger than the 5Mb limit allowed in AI2. You
can program apps larger than 5Mb in the browser, but they will not compile and might not
run in the emulator or save as an aia. In this case you need to reduce the size of your
image and/or sound files. Most image files can be made quite small by resizing them
using a photo manipulation program on your PC to less than 50Kb each.
3) You might have more than 10 Screens in your app. AI2 becomes unstable when more
than ten screens are used.
4) You might have used a too large image as a Screen icon for your project. Use a size
of 48x48 px or 96x96px instead.
5) You did not code the entire project using App Inventor 2. If you used one of the third-party AI2 clones,
you might not be able to load a Project into the AI2 compiler.
6) If you incorrectly modified the project's Manifest files, you may have issues.
Assuming you are golden with the above but still no joy, do you get an error message? what is it?
댓글 없음:
댓글 쓰기