相关疑难解决方法(0)

Flurry中的错误在android中进行分析整合

我想在Android应用程序中集成Flurry分析.

我已成功集成,但它在" java.lang.NoClassDefFoundError: com.flurry.android.FlurryAgent"我的onStart方法" 中给出了运行时错误.

有什么建议??

android flurry

3
推荐指数
1
解决办法
3158
查看次数

SDK 17中的库 - android

我有一个问题,我没有找到答案,对不起如果重复我升级到sdk和ADT 17,从那以后每次我打开一个项目领先,例如,广告admob谷歌给我错误:

无法找到"com.google.ads.AdView"类...

包括库(罐子)在内的所有项目都让我感到震惊

我在这个SDK中已经阅读过有关它的内容,但我的英语不是很好(使用谷歌翻译),我明白我做错了.

我感谢任何帮助.

最好的祝福

sdk android

2
推荐指数
1
解决办法
2444
查看次数

在我的android项目中使用admob jar时ClassNotFound异常?

我已经添加了谷歌admob jar,已经将jar文件添加到了buildpath,并且已经声明了对enifest文件的adactivity,如http://code.google.com/mobile/ads/docs/android链接中所述..那么我也是得到以下错误..

我正在使用android 2.3模拟器并使用ADT17最新版本.

java.lang.NoClassDefFoundError:com.google.ads.AdView

android admob classnotfoundexception

1
推荐指数
1
解决办法
2414
查看次数

Osmdroid示例不起作用

我想用osmdroid创建一个简单的Android应用程序,它应该只显示一个地图.我在项目中也包含了osmdroid-android-3.0.8.jar和slf4j-android-1.5.8.jar.

码:

package osmdemo.demo;

import org.osmdroid.tileprovider.tilesource.TileSourceFactory;
import org.osmdroid.util.GeoPoint;
import org.osmdroid.views.MapController;
import org.osmdroid.views.MapView;

import android.app.Activity;
import android.os.Bundle;

public class Osm extends Activity {

private MapView         mMapView;
private MapController   mMapController;

   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
           setContentView(R.layout.main);
       mMapView = (MapView) findViewById(R.id.mapview);
       mMapView.setTileSource(TileSourceFactory.MAPNIK);
       mMapView.setBuiltInZoomControls(true);
       mMapController = mMapView.getController();
       mMapController.setZoom(13);
       GeoPoint gPt = new GeoPoint(51500000, -150000);
       //Centre map near to Hyde Park Corner, London
       mMapController.setCenter(gPt);

   }
}
Run Code Online (Sandbox Code Playgroud)

main.xml文件:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
    <org.osmdroid.views.MapView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent"
        android:id="@+id/mapview"
        ></org.osmdroid.views.MapView>

</LinearLayout> …
Run Code Online (Sandbox Code Playgroud)

android openstreetmap osmdroid

1
推荐指数
1
解决办法
4619
查看次数