Wednesday, May 6, 2015

Android "A required meta-data tag in your app's AndroidManifest.xml..." com.google.android.gms.version 에러

Admob을 사용시에 다음과 같은 에러가 발생할 경우, 
java.lang.IllegalStateException: A required meta-data tag in your app's AndroidManifest.xml does not exist.  You must have the following declaration within the <application> element:     <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />

AndroidManifest.xml에서 다음과 같은 문장을 <application> 태그에 포함시켜 준다.
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

No comments:

Post a Comment