Note that there are some explanatory texts on larger screens.

plurals
  1. POorg.osmdroid.views.MapView failed to instantiate
    primarykey
    data
    text
    <p>i really need your wonderful help. The OSMDROID map doesn't load, i keep looking the code line by line and dont get it............... <strong>this code works on the phone ( shows the map perfectly )</strong>........ <em>this code works on the emulator ( doesnt show the map)</em>*</p> <p>i put the screencapture <a href="http://i1196.photobucket.com/albums/aa402/funkee_iads/osmdroidnotLoad.png" rel="nofollow">http://i1196.photobucket.com/albums/aa402/funkee_iads/osmdroidnotLoad.png</a></p> <p>this below appears in the graphical layout</p> <blockquote> <p>The following classes could not be instantiated: - org.osmdroid.views.MapView (Open Class, Show Error Log) See the Error Log (Window > Show View) for more details. Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse</p> </blockquote> <p>and the errorlog shows </p> <blockquote> <p>org.osmdroid.views.MapView failed to instantiate it really weird.</p> </blockquote> <p>i use this libs</p> <p>-slf4j-android-1.5.8.jar / -osmdroid-android-3.0.8.jar / -osmbonuspack_v2.4.jar / -mapsforge-map-writer-0.3.0-jar-with-dependencies.jar</p> <p>here i put the code::::</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#ffd7bd" android:orientation="vertical" &gt; &lt;TableRow android:id="@+id/tableRow1" android:layout_width="match_parent" android:layout_height="45dp" &gt; &lt;ImageView android:id="@+id/imageView0" android:layout_width="wrap_content" android:layout_height="match_parent" android:background="#ffd7bd" android:orientation="vertical" android:layout_marginLeft="-200dp " android:textStyle="bold" android:textColor="#000000" android:shadowColor="#8a6603" android:shadowDx="3" android:shadowDy="2" android:shadowRadius="1.8" android:src="@drawable/muestra2" /&gt; &lt;/TableRow&gt; &lt;org.osmdroid.views.MapView android:id="@+id/openmapview" android:layout_width="fill_parent" android:layout_height="fill_parent"/&gt; &lt;/LinearLayout&gt; </code></pre> <p>thanks for your help</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload