[android-beginners] problem in running HelloAndroid.....

2008-04-23 Thread sree kanth
I am getting the problem while running the HelloAndroid
program..in eclipse.
I installed the ADT plugin also...
Please give me the solution to this below error message



[2008-04-23 12:27:28 - HelloAndroid1]
trouble processing:
[2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 
...while parsing LocalVariableTable attribute at offset 023e
...while parsing attributes[1]
...while parsing Code attribute at offset 021b
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/android/hello/HelloAndroid.class
...while processing com/android/hello/HelloAndroid.class
[2008-04-23 12:27:28 - HelloAndroid1]
trouble processing:
[2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 
...while parsing LocalVariableTable attribute at offset 019f
...while parsing attributes[1]
...while parsing Code attribute at offset 017c
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/android/hello/R.class
...while processing com/android/hello/R.class
[2008-04-23 12:27:28 - HelloAndroid1]
trouble processing:
[2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 
...while parsing LocalVariableTable attribute at offset 0161
...while parsing attributes[1]
...while parsing Code attribute at offset 013e
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/android/hello/R$drawable.class
...while processing com/android/hello/R$drawable.class
[2008-04-23 12:27:28 - HelloAndroid1]
trouble processing:
[2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 
...while parsing LocalVariableTable attribute at offset 015b
...while parsing attributes[1]
...while parsing Code attribute at offset 0138
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/android/hello/R$layout.class
...while processing com/android/hello/R$layout.class
[2008-04-23 12:27:28 - HelloAndroid1]
trouble processing:
[2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 
...while parsing LocalVariableTable attribute at offset 015f
...while parsing attributes[1]
...while parsing Code attribute at offset 013c
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/android/hello/R$string.class
...while processing com/android/hello/R$string.class
[2008-04-23 12:27:28 - HelloAndroid1]
trouble processing:
[2008-04-23 12:27:28 - HelloAndroid1] invalid constant pool index 
...while parsing LocalVariableTable attribute at offset 0125
...while parsing attributes[1]
...while parsing Code attribute at offset 0102
...while parsing attributes[0]
...while parsing methods[0]
...while parsing com/android/hello/R$attr.class
...while processing com/android/hello/R$attr.class
[2008-04-23 12:27:28 - HelloAndroid1] 6 warnings
[2008-04-23 12:27:28 - HelloAndroid1] no classfiles specified
[2008-04-23 12:27:28 - HelloAndroid1] Conversion to Dalvik format failed
with error 1

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] failure to connect to database

2008-04-23 Thread scimitar

Hi,

I'm trying to connect to an external mysql database. The code is
something like:

try
{
Class.forName(DBCLASS).newInstance();
}
catch (Exception e)
{
Log.i(DataLayer, unable to load jdbc driver);
}
  // Connect to the database
// 
 jdbc:mysql://[hostname][,failoverhost...][:port]/[dbname][?param1=value1][param2=value2].

try
{
connection = DriverManager.getConnection(
DBCONNSTRING + DBHOST + / + DBNAME + ?user= + USER + 
 password= + PASSWORD);

}
catch (Exception e)
{

}

Basically the 'DriverManager.getConnection()' call fails. The error
messages are:

D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass 'java.sql.NClob' 0x40069968 threw
 an exception
 D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass
 'com.mysql.jdbc.LocalizedErrorMessages_en_US' 0x40069968 threw an
 exception
 D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass
 'com.mysql.jdbc.LocalizedErrorMessages_en' 0x40069968 threw an exception
 I/dalvikvm-heap(  596): GC! (75 sec since last GC)
 I/dalvikvm-heap(  596): GC old usage 90.6%; now 0.985MB used / 1.971MB
 soft max (2.062MB real max)
 I/dalvikvm-heap(  596): GC freed 1736 objects / 106824 bytes in 56ms
 D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass
 'com.mysql.jdbc.LocalizedErrorMessages' 0x40069968 threw an exception
 D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass
 'com.mysql.jdbc.LocalizedErrorMessages_en_US' 0x40018950 threw an
 exception
 D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass
 'com.mysql.jdbc.LocalizedErrorMessages_en' 0x40018950 threw an exception
 D/dalvikvm(  596): Exception Ljava/lang/ClassNotFoundException; from
 PathClassLoader.java:205 not caught locally
 D/dalvikvm(  596): NOTE: loadClass
 'com.mysql.jdbc.LocalizedErrorMessages' 0x40018950 threw an exception
 D/dalvikvm(  596): Exception Ljava/lang/RuntimeException; from
 Messages.java:68 not caught locally
 W/dalvikvm(  596): Exception Ljava/lang/RuntimeException; thrown
 during Lcom/mysql/jdbc/Messages;.clinit
 D/dalvikvm(  596): Exception Ljava/lang/ExceptionInInitializerError;
 from Util.java:350 not caught locally
 W/dalvikvm(  596): Exception Ljava/lang/ExceptionInInitializerError;
 thrown during Lcom/mysql/jdbc/Util;.clinit
 D/dalvikvm(  596): Exception Ljava/lang/ExceptionInInitializerError;
 from ViewRoot.java:964 not caught locally
 D/dalvikvm(  596): Exception Ljava/lang/ExceptionInInitializerError;
 from ZygoteInit.java:1555 not caught locally



I would really appreciate if somebody could help me.

thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: How to Debug

2008-04-23 Thread sealord2k1
Nikhil, are you in my NYU PMIA class? it's Mashood

On Fri, Apr 11, 2008 at 1:25 PM, Nikhil [EMAIL PROTECTED] wrote:


 I just started using Android. I wanted to know how I can debug in
 Eclipse.  There is no option for debugging w/ Android.

 Thanks.
 



-- 
Education is a progressive discovery of our own ignorance.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: About

2008-04-23 Thread Megha Joshi
Hi Pramod,

Please check the documentation below for hardware and software requirements
to run Android applications:
http://code.google.com/android/intro/installing.html#developmentrequirements

Thanks,
Megha

On Tue, Apr 22, 2008 at 9:32 AM, pramod [EMAIL PROTECTED] wrote:


 Hi all,

 I am Android beginner.I want to know the software and hardware
 requirements to run Android Application.

 What is the specific hardware requirements to run Android application
 on PC and on physical emulator?(like processor speed,memory
 requirements etc.)

 Thanks.

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---