New to android dev - debugging -

  2 posts   Feedicon  
Replies: 1 - Last Post: January 12, 2012 18:27
by: radim
showing 1 - 2 of 2
 
Posted: January 10, 2012 23:51 by mafonso333

Hello all!

Please keep up the good work... can't work with Eclipse... long live NetBeans!

I'm new to JAVA and android development.

Trying my 2nd app fom here
http://developer.android.com/guide/tutorials/views/hello-mapview.html

Everything compiles ok but it does not run on AVD.

From DDMS I can see the following message:

Package com.testmap requires unavailable shared library com.google.android.maps; failing!

Do the .apk needs to include the maps.jar? How includes work?

Here is the full log:

01-10 23:26:00.692: D/AndroidRuntime(616): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
01-10 23:26:00.702: D/AndroidRuntime(616): CheckJNI is ON
01-10 23:26:00.872: I/jdwp(616): Ignoring second debugger -- accepting and dropping
01-10 23:26:01.312: D/AndroidRuntime(616): Calling main entry com.android.commands.pm.Pm
01-10 23:26:01.432: D/dalvikvm(540): GC_EXPLICIT freed 10K, 54% free 2546K/5511K, external 1625K/2137K, paused 44ms
01-10 23:26:01.432: W/ActivityManager(61): No content provider found for:
01-10 23:26:01.463: W/ActivityManager(61): No content provider found for:
01-10 23:26:01.482: D/PackageParser(61): Scanning package: /data/app/vmdl1578862799.tmp
01-10 23:26:01.482: I/PackageParser(61): com.testmap: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
01-10 23:26:01.552: D/PackageManager(61): Scanning package com.testmap
01-10 23:26:01.552: E/PackageManager(61): Package com.testmap requires unavailable shared library com.google.android.maps; failing!
01-10 23:26:01.562: W/PackageManager(61): Package couldn't be installed in /data/app/com.testmap-1.apk
01-10 23:26:01.652: D/dalvikvm(61): GC_EXPLICIT freed 175K, 48% free 4169K/7943K, external 2750K/3435K, paused 90ms

Thank you!
Marco
 
Posted: January 12, 2012 18:27 by radim
It is possible that your AVD is based on pure Android platform. You need to create it using a target that has GoogleMaps extension (add-on).

-Radim
Replies: 1 - Last Post: January 12, 2012 18:27
by: radim
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close