如何调试我现在遇到的错误.我正在创建一个应用程序,可以使用谷歌地图找到当前位置然后我有一些如何做的教程.但是错误出现了.
*Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
<style name="Base.TextAppearance.AppCompat.Widget.Button.Inverse"
parent="android:TextAppearance.Material.Widget.Button.Inverse"/>
*Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.`
<style name="Base.Widget.AppCompat.Button.Colored"
parent="android:Widget.Material.Button.Colored"/>
Run Code Online (Sandbox Code Playgroud)
他们属于
*C:\Users\rifrancisco\Desktop\androidprojects\MapsII\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.1\res\values-v23\values-v23.xml
我正在使用Android Studio 1.3,SDK平台高达5.x(MNC),并且安装了所有SDK工具
我怎么解决这个问题?我也尝试在项目结构中将版本更改为v23但仍然相同..这是我的代码
MyActivity
import android.content.Context;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationManager;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.SupportMapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;
public class MapsActivity extends FragmentActivity {
private GoogleMap mMap; // Might be null if …
Run Code Online (Sandbox Code Playgroud)