Drive API로 Android 앱을 개발 중입니다.서명 된 APK에 Google Play 서비스가 누락되었습니다.
태블릿이나 스마트 폰에서 앱을 테스트하려고하면 작동합니다. 이제 Eclipse를 통해 apk에 서명 했으므로 Play 스토어에 내 앱을 게시해야합니다. 문제는이 작업 후에 apk가 작동하지 않는다는 것입니다. 그래서 존재하는 내 프로젝트의 libs와 폴더에서 Eclupse, 드라이브 API v2를 구글 플러그인을 사용하여 다운로드 http://www.youtube.com/watch?v=Ied1CjJ0iP0&feature=share
안드로이드에 첫 번째 드라이브 응용 프로그램을 작성 : Google 드라이브 SDK : 처음에는
나는이 튜토리얼을 따라 구글 플레이-services.jar 내 proguard.cfg은 [기본 버전이 작동하지 않는 때문에이 파일을 만든]는이
:-printmapping proguard.map
-renamesourcefileattribute ProGuard
-keepattributes SourceFile,LineNumberTable
-optimizationpasses 8
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-dontwarn com.google.android.gms.**
-dontwarn android.support.v4.**
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-libraryjars /libs/google-play-services.jar
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class com.android.vending.licensing.ILicensingService
-keep class com.google.android.gms.** { *; }
-keep interface com.google.android.gms.** { *; }
-keep class android.support.v4.** { *; }
-keep interface android.support.v4.** { *; }
-keep class org.codehaus.jackson.** { *; }
-keep interface org.codehaus.jackson.** { *; }
-keep class com.google.api.client.json.jackson.** { *; }
-keep interface com.google.api.client.json.jackson.** { *; }
-keep class com.google.api.client.googleapis.** { *; }
-keep interface com.google.api.client.googleapis.** { *; }
-keep class com.google.api.client.auth.** { *; }
-keep interface com.google.api.client.auth.** { *; }
-keep class javax.annotation.** { *; }
-keep interface javax.annotation.** { *; }
-keep class com.google.api.client.** { *; }
-keep interface com.google.api.client.** { *; }
-keep class com.google.api.services.** { *; }
-keep interface com.google.api.services.** { *; }
-keep class org.achartengine.** { *; }
-keep interface org.achartengine.** { *; }
-keep class com.google.api.client.googleapis.extensions.android.** { *; }
-keep interface com.google.api.client.googleapis.extensions.android..** { *; }
-keep class com.google.api.client.json.jackson2.** { *; }
-keep interface com.google.api.client.json.jackson2.** { *; }
-keep class com.google.protobuf.** { *; }
-keep interface com.google.protobuf.** { *; }
-keep class com.google.api.client.extensions.android.** { *; }
-keep interface com.google.api.client.extensions.android.** { *; }
-keep class com.google.api.client.json.gson.** { *; }
-keep interface com.google.api.client.json.gson.** { *; }
-keep class com.google.gson.** { *; }
-keep interface com.google.gson.** { *; }
-keep class com.fasterxml.jackson.core.** { *; }
-keep interface com.fasterxml.jackson.core.** { *; }
-keep class com.claudioilluminati.googleaccountstorage.** { *; }
-keep interface com.claudioilluminati.googleaccountstorage.** { *; }
-keepattributes *Annotation*
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
내가 체크인 할 때 나는이 오류를 볼 수있는 DDMS 관점에 Eclipse : 난 그냥 서명 한 APK의 치수가 APK에 서명하지 않는 것이 작은 것을 추가 할
The Google Play Services resources were not found.
Check your project configuration to ensure that the resources are included.
.
의견이 있으십니까? 사전에
덕분에
클라우디오
문제를 해결했습니다 ... – user2672950