2014년 12월 9일 화요일

Error response code 500


I cant build apk  this massege apper  Error response code 500   

my app Is one screen with one button  

whats the problem?

-- 

Do you have the latest Chrome or Firefox or Safari browser.   Update it and you may see a change in performance that will eliminate the error message.
Are you on a school network?    Knowing that, we could propose other possibilities for your issue.

Do you have an image on the button, or stuff in resources?       

Are you using BlueStacks?   

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 or you put images or other resources in your Media (resources) that you do not use in the app.  All the images and sounds in resources count toward the 5Mb limit.    You can program apps larger than 5Mb in the browser, but they will not compile and might not run in the emulator or the project may not save as an aia. If this is the 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 set a Screen icon for your project that is too large. Use an image sizeof 48x48 px or 96x96px instead and only use jpg or png images.  *.ico files are not supported.

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 or create an apk with the standard AI2.

6) If you incorrectly modified the project's Manifest files, you may have issues.

7)  Sometimes, if you have LOTS of Layouts on a single screen,  the apk might not compile.

You need to tell us more about your problem, your PC and perhaps post an image of your blocks ..(. truly only a single button and no other code? )in order for us to help if none of the above conditions is what is causing your problem.

--
I've tried everything, deleted the browser and  install it again .. andupdate the browser Google and Firefox, as well as deleted programBlueStacks and deleted most of others programs and make sure of the quality of the internet all of this Done ..this  very light application of only one button does not have a graphics or photos please check the print screen attached





--
Are you building this on the emulator?  The emulator does not have a camera.  You have a camera component in the app.

Try an even simpler Project.   Start a new Project.   Call the project SimpleTest.
Place a Button on the Designer Screen ... nothing else.   That creates a program with a button that does nothing.

Now,    from Ai2      Build > App (save apk to my computer)   and see if it builds.

Does SimpleTest build properly? 

--
There was a problem with the buildservers, It should be fixed now. 

--


댓글 없음:

댓글 쓰기