Status Update
Comments
so...@gmail.com <so...@gmail.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Daniel Santiago Rivera <
Link:
Make androidx.room and androidx.sqlite target Kotlin 2.0
Expand for full commit details
Make androidx.room and androidx.sqlite target Kotlin 2.0
This required the following changes:
* Suppress 'ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT' in SQLiteException.android.kt and ThreadLocal.jvmAndroid.kt due to being impossible to match annotations in expect when actual is a typealias to a platform type. Meanwhile in room-common repeatable annotations in JVM use @JvmRepeatable while expect uses Kotlin's @Repeatable and while trying to match actual with expect, an error is produced due to @JvmRepeatable and @Repeatable being used together.
* Fix various annotations mismatch between actual / expect.
* Removing @JvmField from common code as expect properties have no backing field and @JvmField targets FIELD.
* Smart-cast is not possible for expect properties, therefore first store in local variable before smart-case usage. Observed in TableInfo, FtsTableInfo, ViewInfo and MigrationUtil.
* Adding load() and getRefreshKey() to expect LimitOffsetPagingSource to conform to modality of actual overriding those functions.
* Make a XProcessingEnvConfig a normal class (instead of a data class) since it has a private constructor with a public copy() usage which is now invalid.
* Set useKsp2=true on projects with KSP and Kotlin language 2.0 (Room KMP test apps).
* Workaround KSP2 issue with default value of annotations not appearing in value list. Added a get() that returns nullable XAnnotationValue.
* Workaround KSP2 issue of projecting value class constructor as member of (to support generics).
* Workaround XPoet creating JavaPoet types of invalid methods (internal) when XProcessingEnvConfig.excludeMethodsWithInvalidJvmSourceNames is set to true due to Kotlin codegen.
Bug: 315461431
Bug: 384600605
Test: Existing
Relnote: "Native APIs updated due to Kotlin 2.0"
Change-Id: I8efb015c88682921780370c8bed5931d9933a319
Files:
- M
development/build_log_simplifier/messages.ignore
- M
room/integration-tests/kotlintestapp/build.gradle
- M
room/integration-tests/multiplatformtestapp/build.gradle
- M
room/room-common/bcv/native/current.txt
- M
room/room-common/build.gradle
- M
room/room-common/src/jvmMain/kotlin/androidx/room/DeleteColumn.jvm.kt
- M
room/room-common/src/jvmMain/kotlin/androidx/room/DeleteTable.jvm.kt
- M
room/room-common/src/jvmMain/kotlin/androidx/room/RenameColumn.jvm.kt
- M
room/room-common/src/jvmMain/kotlin/androidx/room/RenameTable.jvm.kt
- M
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotation.kt
- M
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
- M
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XAnnotation.kt
- M
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XProcessingEnvConfig.kt
- M
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/util/NamingUtils.kt
- M
room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationTest.kt
- M
room/room-compiler/build.gradle
- M
room/room-compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
- M
room/room-compiler/src/main/kotlin/androidx/room/solver/query/result/MultimapQueryResultAdapter.kt
- M
room/room-compiler/src/test/kotlin/androidx/room/writer/BaseDaoKotlinCodeGenTest.kt
- M
room/room-compiler/src/test/kotlin/androidx/room/writer/DaoKotlinCodeGenTest.kt
- M
room/room-compiler/src/test/kotlin/androidx/room/writer/DaoRelationshipKotlinCodeGenTest.kt
- M
room/room-compiler/src/test/kotlin/androidx/room/writer/DatabaseKotlinCodeGenTest.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/database_daoProperty.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/database_internalVisibility.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/database_javaSource.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/database_simple.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/database_withFtsAndView.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/guavaCallable_java.kt
- M
room/room-ktx/build.gradle
- M
room/room-migration/build.gradle
- M
room/room-paging-guava/build.gradle
- M
room/room-paging-rxjava2/build.gradle
- M
room/room-paging-rxjava3/build.gradle
- M
room/room-paging/build.gradle
- M
room/room-paging/src/androidMain/kotlin/androidx/room/paging/LimitOffsetPagingSource.android.kt
- M
room/room-paging/src/commonMain/kotlin/androidx/room/paging/LimitOffsetPagingSource.kt
- M
room/room-paging/src/jvmNativeMain/kotlin/androidx/room/paging/LimitOffsetPagingSource.jvmNative.kt
- M
room/room-runtime/bcv/native/current.txt
- M
room/room-runtime/build.gradle
- M
room/room-runtime/src/commonMain/kotlin/androidx/room/RoomConnectionManager.kt
- M
room/room-runtime/src/commonMain/kotlin/androidx/room/util/FtsTableInfo.kt
- M
room/room-runtime/src/commonMain/kotlin/androidx/room/util/MigrationUtil.kt
- M
room/room-runtime/src/commonMain/kotlin/androidx/room/util/TableInfo.kt
- M
room/room-runtime/src/commonMain/kotlin/androidx/room/util/ViewInfo.kt
- M
room/room-runtime/src/jvmAndroidMain/kotlin/androidx/room/concurrent/ThreadLocal.jvmAndroid.kt
- M
room/room-runtime/src/jvmNativeMain/kotlin/androidx/room/InvalidationTracker.jvmNative.kt
- M
room/room-runtime/src/jvmNativeMain/kotlin/androidx/room/util/TableInfo.jvmNative.kt
- M
room/room-runtime/src/jvmNativeMain/kotlin/androidx/room/util/ViewInfo.jvmNative.kt
- M
room/room-runtime/src/nativeMain/kotlin/androidx/room/concurrent/ThreadLocal.native.kt
- M
room/room-rxjava2/build.gradle
- M
room/room-rxjava3/build.gradle
- M
room/room-testing/build.gradle
- M
sqlite/sqlite-bundled/build.gradle
- M
sqlite/sqlite-bundled/src/commonMain/kotlin/androidx/sqlite/driver/bundled/BundledSQLiteConnection.kt
- M
sqlite/sqlite-bundled/src/commonMain/kotlin/androidx/sqlite/driver/bundled/BundledSQLiteDriver.kt
- M
sqlite/sqlite-bundled/src/commonMain/kotlin/androidx/sqlite/driver/bundled/BundledSQLiteStatement.kt
- M
sqlite/sqlite-bundled/src/jvmAndroidMain/kotlin/androidx/sqlite/driver/bundled/BundledSQLite.jvmAndroid.kt
- M
sqlite/sqlite-framework/build.gradle
- M
sqlite/sqlite-ktx/build.gradle
- M
sqlite/sqlite/build.gradle
- M
sqlite/sqlite/src/androidMain/kotlin/androidx/sqlite/SQLiteException.android.kt
- M
sqlite/sqlite/src/androidUnitTest/kotlin/androidx/sqlite/db/SimpleSQLiteQueryTest.kt
Hash: 6e1e6e154483b9346ffc27a0e57d14bd20f4359f
Date: Mon Dec 16 22:13:20 2024
im...@gmail.com <im...@gmail.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.room:room-common:2.7.0-alpha13
androidx.room:room-common-iosarm64:2.7.0-alpha13
androidx.room:room-common-iossimulatorarm64:2.7.0-alpha13
androidx.room:room-common-iosx64:2.7.0-alpha13
androidx.room:room-common-jvm:2.7.0-alpha13
androidx.room:room-common-linuxarm64:2.7.0-alpha13
androidx.room:room-common-linuxx64:2.7.0-alpha13
androidx.room:room-common-macosarm64:2.7.0-alpha13
androidx.room:room-common-macosx64:2.7.0-alpha13
androidx.room:room-compiler:2.7.0-alpha13
androidx.room:room-compiler-processing:2.7.0-alpha13
androidx.room:room-ktx:2.7.0-alpha13
androidx.room:room-migration:2.7.0-alpha13
androidx.room:room-migration-iosarm64:2.7.0-alpha13
androidx.room:room-migration-iossimulatorarm64:2.7.0-alpha13
androidx.room:room-migration-iosx64:2.7.0-alpha13
androidx.room:room-migration-jvm:2.7.0-alpha13
androidx.room:room-migration-linuxarm64:2.7.0-alpha13
androidx.room:room-migration-linuxx64:2.7.0-alpha13
androidx.room:room-migration-macosarm64:2.7.0-alpha13
androidx.room:room-migration-macosx64:2.7.0-alpha13
androidx.room:room-paging:2.7.0-alpha13
androidx.room:room-paging-android:2.7.0-alpha13
androidx.room:room-paging-guava:2.7.0-alpha13
androidx.room:room-paging-iosarm64:2.7.0-alpha13
androidx.room:room-paging-iossimulatorarm64:2.7.0-alpha13
androidx.room:room-paging-iosx64:2.7.0-alpha13
androidx.room:room-paging-jvm:2.7.0-alpha13
androidx.room:room-paging-linuxarm64:2.7.0-alpha13
androidx.room:room-paging-linuxx64:2.7.0-alpha13
androidx.room:room-paging-macosarm64:2.7.0-alpha13
androidx.room:room-paging-macosx64:2.7.0-alpha13
androidx.room:room-paging-rxjava2:2.7.0-alpha13
androidx.room:room-paging-rxjava3:2.7.0-alpha13
androidx.room:room-runtime:2.7.0-alpha13
androidx.room:room-runtime-android:2.7.0-alpha13
androidx.room:room-runtime-iosarm64:2.7.0-alpha13
androidx.room:room-runtime-iossimulatorarm64:2.7.0-alpha13
androidx.room:room-runtime-iosx64:2.7.0-alpha13
androidx.room:room-runtime-jvm:2.7.0-alpha13
androidx.room:room-runtime-linuxarm64:2.7.0-alpha13
androidx.room:room-runtime-linuxx64:2.7.0-alpha13
androidx.room:room-runtime-macosarm64:2.7.0-alpha13
androidx.room:room-runtime-macosx64:2.7.0-alpha13
androidx.room:room-rxjava2:2.7.0-alpha13
androidx.room:room-rxjava3:2.7.0-alpha13
androidx.room:room-testing:2.7.0-alpha13
androidx.room:room-testing-android:2.7.0-alpha13
androidx.room:room-testing-iosarm64:2.7.0-alpha13
androidx.room:room-testing-iossimulatorarm64:2.7.0-alpha13
androidx.room:room-testing-iosx64:2.7.0-alpha13
androidx.room:room-testing-jvm:2.7.0-alpha13
androidx.room:room-testing-linuxarm64:2.7.0-alpha13
androidx.room:room-testing-linuxx64:2.7.0-alpha13
androidx.room:room-testing-macosarm64:2.7.0-alpha13
androidx.room:room-testing-macosx64:2.7.0-alpha13
androidx.sqlite:sqlite:2.5.0-alpha13
androidx.sqlite:sqlite-android:2.5.0-alpha13
androidx.sqlite:sqlite-bundled:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-android:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-iosarm64:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-iossimulatorarm64:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-iosx64:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-jvm:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-linuxarm64:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-linuxx64:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-macosarm64:2.5.0-alpha13
androidx.sqlite:sqlite-bundled-macosx64:2.5.0-alpha13
androidx.sqlite:sqlite-framework:2.5.0-alpha13
androidx.sqlite:sqlite-framework-android:2.5.0-alpha13
androidx.sqlite:sqlite-framework-iosarm64:2.5.0-alpha13
androidx.sqlite:sqlite-framework-iossimulatorarm64:2.5.0-alpha13
androidx.sqlite:sqlite-framework-iosx64:2.5.0-alpha13
androidx.sqlite:sqlite-framework-linuxarm64:2.5.0-alpha13
androidx.sqlite:sqlite-framework-linuxx64:2.5.0-alpha13
androidx.sqlite:sqlite-framework-macosarm64:2.5.0-alpha13
androidx.sqlite:sqlite-framework-macosx64:2.5.0-alpha13
androidx.sqlite:sqlite-iosarm64:2.5.0-alpha13
androidx.sqlite:sqlite-iossimulatorarm64:2.5.0-alpha13
androidx.sqlite:sqlite-iosx64:2.5.0-alpha13
androidx.sqlite:sqlite-jvm:2.5.0-alpha13
androidx.sqlite:sqlite-ktx:2.5.0-alpha13
androidx.sqlite:sqlite-linuxarm64:2.5.0-alpha13
androidx.sqlite:sqlite-linuxx64:2.5.0-alpha13
androidx.sqlite:sqlite-macosarm64:2.5.0-alpha13
androidx.sqlite:sqlite-macosx64:2.5.0-alpha13
so...@gmail.com <so...@gmail.com> #4
I'm seeing this with Room 2.7.0-alpha13.
e: [ksp] java.lang.IllegalArgumentException: not a valid name: update--rkJvpU
at com.squareup.javapoet.Util.checkArgument(Util.java:53)
at com.squareup.javapoet.MethodSpec$Builder.setName(MethodSpec.java:315)
at com.squareup.javapoet.MethodSpec$Builder.<init>(MethodSpec.java:310)
at com.squareup.javapoet.MethodSpec$Builder.<init>(MethodSpec.java:294)
at com.squareup.javapoet.MethodSpec.methodBuilder(MethodSpec.java:188)
at androidx.room.compiler.processing.MethodSpecHelper.overriding(JavaPoetExt.kt:183)
at androidx.room.compiler.processing.MethodSpecHelper.overridingWithFinalParams(JavaPoetExt.kt:149)
at androidx.room.compiler.codegen.XFunSpec$Companion.overridingBuilder(XFunSpec.kt:166)
at androidx.room.compiler.codegen.XFunSpec$Companion.overridingBuilder$default(XFunSpec.kt:158)
at androidx.room.writer.DaoWriter.overrideWithoutAnnotations(DaoWriter.kt:680)
at androidx.room.writer.DaoWriter.createPreparedQueryFunction(DaoWriter.kt:435)
at androidx.room.writer.DaoWriter.createTypeSpecBuilder(DaoWriter.kt:154)
at androidx.room.writer.TypeWriter.write(TypeWriter.kt:70)
at androidx.room.DatabaseProcessingStep.process(DatabaseProcessingStep.kt:103)
im...@gmail.com <im...@gmail.com> #5
Project: platform/frameworks/support
Branch: androidx-main
Author: Daniel Santiago Rivera <
Link:
Sanitize DAO Java method names mangled by value classes.
Expand for full commit details
Sanitize DAO Java method names mangled by value classes.
Bug: 384600605
Bug: 388299754
Test: DaoKotlinCodeGenTest.kt
Change-Id: I805ae6828bf45de82f4bcec55af4528ccd16d00a
Files:
- M
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/util/NamingUtils.kt
- M
room/room-compiler/src/test/kotlin/androidx/room/writer/DaoKotlinCodeGenTest.kt
- M
room/room-compiler/src/test/test-data/kotlinCodeGen/dataClassRowAdapter_valueClassConverter.kt
Hash: 93666e398595454b46279c8ea2b8e746363971eb
Date: Wed Jan 29 15:54:02 2025
so...@gmail.com <so...@gmail.com> #6
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.core:core-viewtree:1.0.0-rc01
androidx.room:room-compiler:2.7.0-beta01
androidx.room:room-compiler-processing:2.7.0-beta01
ne...@gmail.com <ne...@gmail.com> #7
ne...@gmail.com <ne...@gmail.com> #8
so...@gmail.com <so...@gmail.com> #9
Thanks for the heads up :D
im...@gmail.com <im...@gmail.com> #10
[Deleted User] <[Deleted User]> #11
sh...@gmail.com <sh...@gmail.com> #12
be...@gmail.com <be...@gmail.com> #13
je...@gmail.com <je...@gmail.com> #14
m....@gmail.com <m....@gmail.com> #15
ea...@gmail.com <ea...@gmail.com> #16
hu...@gmail.com <hu...@gmail.com> #17
et...@gmail.com <et...@gmail.com> #18
pr...@gmail.com <pr...@gmail.com> #19
ql...@njrealtor.com <ql...@njrealtor.com> #20
br...@gmail.com <br...@gmail.com> #21
ha...@gmail.com <ha...@gmail.com> #22
as...@gmail.com <as...@gmail.com> #23
I have the same problem indicated in the first link (
04-14 10:33:08.985: E/AndroidRuntime(817): FATAL EXCEPTION: main
04-14 10:33:08.985: E/AndroidRuntime(817): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://details?id=com.google.android.gms flg=0x80000 pkg=com.android.vending }
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1622)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.Activity.startActivityForResult(Activity.java:3370)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.Activity.startActivityForResult(Activity.java:3331)
04-14 10:33:08.985: E/AndroidRuntime(817): at ndroid.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:817)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.Activity.startActivity(Activity.java:3566)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.Activity.startActivity(Activity.java:3534)
04-14 10:33:08.985: E/AndroidRuntime(817): at om.google.android.gms.internal.e$2.onClick(Unknown Source)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.view.View.performClick(View.java:4204)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.view.View$PerformClick.run(View.java:17355)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.os.Handler.handleCallback(Handler.java:725)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.os.Handler.dispatchMessage(Handler.java:92)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.os.Looper.loop(Looper.java:137)
04-14 10:33:08.985: E/AndroidRuntime(817): at android.app.ActivityThread.main(ActivityThread.java:5041)
04-14 10:33:08.985: E/AndroidRuntime(817): at java.lang.reflect.Method.invokeNative(Native Method)
04-14 10:33:08.985: E/AndroidRuntime(817): at java.lang.reflect.Method.invoke(Method.java:511)
04-14 10:33:08.985: E/AndroidRuntime(817): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
04-14 10:33:08.985: E/AndroidRuntime(817): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
04-14 10:33:08.985: E/AndroidRuntime(817): at dalvik.system.NativeStart.main
Native Method)
The workaround indicated here
does not work on my emulator (API level 17 and before): I have "no space left on device" error when I try to load com.android.vending-1.apk and com.google.android.gms-1.apk.
It's very strange that is not possible to run Google Maps v2 on emulator.
Can someone help me?
Thanks in advance
Mario
ge...@gmail.com <ge...@gmail.com> #24
emulator.exe -avd "your_avd_name" -partition-size 400
Then, execute following commands:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
adb shell chmod 777 /system/app
adb push "com.android.vending.apk" /system/app/
adb push "com.google.android.gms.apk" /system/app/
This works for me on x86 emulator with api version 16.
fa...@gmail.com <fa...@gmail.com> #25
I guess I'll advise my client to have a try to web mobile app and some of those HTML5 compatible API's, this is just disappointing.
P.S : at least point out the issue in the official documentation, don't let people stumble over like some lost dogs, this is time wasting, confusing, frustrating and above all shamefull.
as...@gmail.com <as...@gmail.com> #26
It's very strange to not be able to use Google Maps on emulator.
Can someone help me?
Thanks
st...@gmail.com <st...@gmail.com> #27
Thanks.
gu...@gmail.com <gu...@gmail.com> #28
ku...@gmail.com <ku...@gmail.com> #29
You basically need an emulator with at least API level 9 and no Google APIs. Then you'll have to get the APKs from a rooted device:
adb -d pull /data/app/com.android.vending-2.apk
adb -d pull /data/app/com.google.android.gms-2.apk
and install them in the emulator:
adb -e install com.android.vending-2.apk
adb -e install com.google.android.gms-2.apk
You can even run the native Google Maps App, if you have an emulator with at least API level 14 and additionally install com.google.android.apps.maps-1.apk
Have fun.
cb...@google.com <cb...@google.com> #30
Good news! The Maps API will be fully functional in an emulator using this updated image.
kg...@gmail.com <kg...@gmail.com> #31
kg...@gmail.com <kg...@gmail.com> #32
ma...@gmail.com <ma...@gmail.com> #33
ok...@gmail.com <ok...@gmail.com> #34
me...@thomaskeller.biz <me...@thomaskeller.biz> #35
Also, it would be awesome if you would not only ship armeabi, but also x86 system images...
fe...@gmail.com <fe...@gmail.com> #36
gi...@gmail.com <gi...@gmail.com> #37
I've just been doing searches for days and posted the question on stackoverflow:
Also posted below:
######################################################################
I am following the tutorial to run Google Maps Android API V2. I am using an emulator. (I know a real device may solve the problem, but I do want to try emulator) The mapfragment shows a pale yellow background with two zoom buttons on it, and I got an error in LogCat that "Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above". I am using the most recent Android and Google Maps APIs (Android 4.2.2 and Google APIs 17)
I am a newbie to android and I've done a lot of searches. Here is what I have found:
1.
Maps were not supported on emulator, since Google Play services were not supported on emulator (unless tweaking emulator to work around this). But there is support now according to official page "Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services." on
2.
there were also a lot of discussions about OpenGL ES 2.0 support on emulators, and it was said that OpenGL ES 2.0 was not supported on emulators at all. But here is a page (from google?) saying "As a bonus, since we’re now supporting OpenGL ES 2.0, your OpenGL games can now run inside the emulator" from
I want to know if I can run google maps on emulator at all (with the newest versions of Android and Google APIs). Or I will have to switch to a real device or "tweak" the emulator.
##########################################################################
I love Google and I really don't expect this happens with Google. Please clarify and really fix it, please.
fe...@gmail.com <fe...@gmail.com> #38
sm...@gmail.com <sm...@gmail.com> #39
I have used the latest version of API(level 17).
I am getting a white screen.
To test whether the map is working or not i tried using toast i am getting the sucess message there.
Can anyone help me out with this??
ni...@gmail.com <ni...@gmail.com> #40
cy...@gmail.com <cy...@gmail.com> #41
ha...@gmail.com <ha...@gmail.com> #42
when will the bug be removed from the emulator?? so that the google map apps can be tested in the emulator??? please clarify and at least change the status from fixed as it is not...
vr...@gmail.com <vr...@gmail.com> #43
ko...@gmail.com <ko...@gmail.com> #44
I am new to android, i learned somewhat about google map and i created one program without any error, but if i try to execute it the avd doesn't show anything. what is the problem is this? can anyone please help me to resolve this?
ch...@gmail.com <ch...@gmail.com> #45
android google map v2 map not displayed,
[Deleted User] <[Deleted User]> #46
please help me
[Deleted User] <[Deleted User]> #47
[Deleted User] <[Deleted User]> #48
Just checking, are you using the lastest version of google maps api image????? or just the regular android emulator?
sa...@gmail.com <sa...@gmail.com> #49
When I use compile 'com.google.android.gms:play-services-maps:8.3.0' dependency it doesnt work because my google play service service version in emulator is
cs...@gmail.com <cs...@gmail.com> #50
Since google is letting this be a single problem affecting MANY developers. I'll carve it out - to fix this I can verify a solution:
in your gradle file:
compile 'com.google.android.gms:play-services:+' // this will pull the latest version.
Then in your emulator select an Android Virtual Device, AVD that runs API version 21. I just choose Nexus 5 API 21 x86 - can't remember id it's a default one.
Having said that it's probably important to note that I also have this setting in my gradle file:
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.der_geiler.XXX"
minSdkVersion 21
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
Description
demonstration page if at all possible, or attach code.
Full description here:
Please let me know if you need any more info.
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************