Google Play Services マイグレーションで「The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.」

 

Froyo を捨てて、Google Play Services を使う。

Getting_Started_-_Google_Mobile_Ads_SDK_—_Google_Developers

機能はまともに動いているようなのだが、こんなログ。

W/ResourceType﹕ getEntry failing because entryIndex 133 is beyond type entryCount 3

W/ResourceType﹕ Failure getting entry for 0x7f0a000d (t=10 e=13) in package 0 (error -213483947)

E/GooglePlayServicesUtil﹕ The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.

気持ちが悪いので、調べる。

だいぶ盛り上がっているようでしたが、どれも該当しないハマりコース。

android_-_LogCat_message__The_Google_Play_services_resources_were_not_found._Check_your_project_configuration_to_ensure_that_the_resources_are_included_-_Stack_Overflow

android - LogCat message: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included - Stack Overflow android - LogCat message: The Google Play services resources were not found. Check your project configuration to ensure that the resources are included - Stack Overflow

これ、結局、開発環境のみでのエラー出力だったりします。

続きを読む >>


AndroidStudio 「getClass()」でエラー?

 

このコードなのですが、

    private final String TAG = getClass().getSimpleName();

最近は、下に赤下波線となったりします。

MainActivity

問題なく動作はするのですが、なんか気持ち悪いです。

Ambiguous method call. Both
getClass () in Object and
getClass () in Object match.

すこし記述を変えてみると正常になりました。

続きを読む >>


AndroidStudio「Build | Generate Signed APK」が「assembleDebug」タスクじゃねえか?

 

とりあえず

android:debuggable=”false”

をAndroidManifest.xmlに追記することで回避しましたが。

「デバッグ可能なAPKをアップロードしました。」などと言い始めた Google Play Developer Console 「デバッグ可能なAPKをアップロードしました。」などと言い始めた Google Play Developer Console

 

こんな方法もあるようです。

AndroidStudio 上部メニューから、
続きを読む >>


「デバッグ可能なAPKをアップロードしました。」などと言い始めた Google Play Developer Console

 

環境は、Mac版 AndroidStudio 0.3.5 ですが。
これまでどおりに作業して、更新後 APKをアップロードすると、

APK_-__Google_Play_Developer_Console

え、なにこれ。

ダイアログ上にあるリンクからのページはここ。

Using Hardware Devices | Android Developers Using Hardware Devices | Android Developers

USB接続まわりのページになってるけど、

続きを読む >>


gradle の dependencies は「Gradle, please」に聞け

 

AndroidStudioを使うようになって、
「あれ、こんな記述で良かったっけ?」
「あれ、これ、最新バージョンなんぼ?」
などと思うことがあります。

 

dependencies {
    // Google Play Services
    compile 'com.google.android.gms:play-services:4.0.30'

    // Support Libraries
    compile 'com.android.support:support-v4:19.0.0'
    compile 'com.android.support:appcompat-v7:19.0.0'
    compile 'com.android.support:gridlayout-v7:19.0.0'
    compile 'com.android.support:support-v7-mediarouter:19.0.0'
    compile 'com.android.support:support-v13:19.0.0'

    // Note: these libraries require the "Google Repository" and "Android Repository"
    //       to be installed via the SDK manager.
}

 

MavenCentralRepository を参照しながら
すぐに教えてくれます。

 

Gradle__please 2

Gradle__please 3

続きを読む >>