Difference between revisions of "Android : FAQ"

From CDOT Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
'''If you get the following error:''' Conversion to Dalvik format failed with error 1
 
'''If you get the following error:''' Conversion to Dalvik format failed with error 1
 +
 
'''Here is something that you can do that fixed it for me:''' Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y" (in my case Android 1.5). click OK. Go to Project » Clean » Clean projects selected below » select your project and click OK. Try running again
 
'''Here is something that you can do that fixed it for me:''' Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y" (in my case Android 1.5). click OK. Go to Project » Clean » Clean projects selected below » select your project and click OK. Try running again

Revision as of 09:51, 22 March 2012

Parameters:

  • c: Background color of the table row; value 0 or 1; if the previous registration was 0, please type 1.
  • url: Resource URL
  • title: Resource title including author; year;
  • descr: The description of the resource's contributions (why should we read it?)

For example, to register a new resource you have to type:

 {{Ecl_r_entry |c=0
 |url=   http://zenit.senecac.on.ca/~jordan.anastasiade/Eclipse/basics/Beginner/Beginner-DexterTutorial.html
 |title= Eclipse and Java for Total Beginners - Max Dexter - 2006
 |descr= * Create Java project in Eclipse * Create Java package * Introduce classes and objects, naming conventions * Write a simple Java class (Person)
 }}
 

If you get the following error: Conversion to Dalvik format failed with error 1

Here is something that you can do that fixed it for me: Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y" (in my case Android 1.5). click OK. Go to Project » Clean » Clean projects selected below » select your project and click OK. Try running again