java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable in android

后端 未结 10 1908
忘掉有多难
忘掉有多难 2020-11-27 21:33

I tried a demo on displaying google maps v2 in android.

The java code is,

package com.example.gpslocator;

import android.os.Bundle;
import android         


        
10条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 22:19

    I had this same issue, and I was able to solve it by right-clicking the google-play-services_lib project and refreshing. For some reason the project wasn't synced with Eclipse which was causing the error.

提交回复
热议问题