[android-developers] Re: How do I write Android.mk for an application using com.google.android.maps.jar
Yes, you're right. it's more related to android-platform. Anyway thank you for reply. Actually. as you mentioned, it's done already. but I'll check it again.. Thank you... On Sep 8, 4:55 pm, FrankG wrote: > >What is wrong? > > IMHO first of all the group, as this is more related to android- > platform. > > The strange thing for me is, why Google -Maps is not part of your > platform > as vendor extension under app\mydroid\vendor\google\frameworks ? > > I have no idea whether your approach can work. > > I think you need to create your own google maps extension dir and put > their > a Android.mk which will force to install the maps jar under /system/ > framework > > Somethink like this .. > > LOCAL_MODULE := com.google.android.maps.jar > > LOCAL_MODULE_CLASS := JAVA_LIBRARIES > > LOCAL_MODULE_PATH := $(TARGET_OUT_JAVA_LIBRARIES) > > LOCAL_SRC_FILES := $(LOCAL_MODULE) > > include $(BUILD_PREBUILT) > > Take this as a starting point only as this is not complete. > > Good luck ! Frank > > On 27 Aug., 02:56, Binggrae wrote: > > > > > Hi > > > I am developing an application using com.google.android.maps.jar > > It is OK to develop it with Eclipse SDK. > > but an build-error happens when building system.img with GMS licence > > (com.google.android.maps.jar is already installed at out/target/common/ > > obj/JAVA_LIBRARIES/com.google.android.maps.jar_intermediates/ > > com.google.android.maps.jar) > > > make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/ > > com.google.android.maps.jar_intermediates/javalib.jar', needed by `out/ > > target/common/obj/APPS/LifeStory_intermediates/classes-full- > > debug.jar'. Stop. > > > Here is my Android.mk > > > #=== > > LOCAL_PATH:= $(call my-dir) > > include $(CLEAR_VARS) > > > LOCAL_MODULE_TAGS := user > > > # List of static libraries to include in the package > > LOCAL_STATIC_JAVA_LIBRARIES := com.google.android.maps.jar > > > LOCAL_SRC_FILES := $(call all-java-files-under, src) > > > LOCAL_PACKAGE_NAME := Test > > > include $(BUILD_PACKAGE) > > #=== > > > What is wrong? > > please help me.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How do I write Android.mk for an application using com.google.android.maps.jar
>What is wrong? IMHO first of all the group, as this is more related to android- platform. The strange thing for me is, why Google -Maps is not part of your platform as vendor extension under app\mydroid\vendor\google\frameworks ? I have no idea whether your approach can work. I think you need to create your own google maps extension dir and put their a Android.mk which will force to install the maps jar under /system/ framework Somethink like this .. LOCAL_MODULE := com.google.android.maps.jar LOCAL_MODULE_CLASS := JAVA_LIBRARIES LOCAL_MODULE_PATH := $(TARGET_OUT_JAVA_LIBRARIES) LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) Take this as a starting point only as this is not complete. Good luck ! Frank On 27 Aug., 02:56, Binggrae wrote: > Hi > > I am developing an application using com.google.android.maps.jar > It is OK to develop it with Eclipse SDK. > but an build-error happens when building system.img with GMS licence > (com.google.android.maps.jar is already installed at out/target/common/ > obj/JAVA_LIBRARIES/com.google.android.maps.jar_intermediates/ > com.google.android.maps.jar) > > make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/ > com.google.android.maps.jar_intermediates/javalib.jar', needed by `out/ > target/common/obj/APPS/LifeStory_intermediates/classes-full- > debug.jar'. Stop. > > Here is my Android.mk > > #=== > LOCAL_PATH:= $(call my-dir) > include $(CLEAR_VARS) > > LOCAL_MODULE_TAGS := user > > # List of static libraries to include in the package > LOCAL_STATIC_JAVA_LIBRARIES := com.google.android.maps.jar > > LOCAL_SRC_FILES := $(call all-java-files-under, src) > > LOCAL_PACKAGE_NAME := Test > > include $(BUILD_PACKAGE) > #=== > > What is wrong? > please help me.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How do I write Android.mk for an application using com.google.android.maps.jar
Thank you. No one has answered. On Aug 27, 9:56 am, Binggrae wrote: > Hi > > I am developing an application using com.google.android.maps.jar > It is OK to develop it with Eclipse SDK. > but an build-error happens when building system.img with GMS licence > (com.google.android.maps.jar is already installed at out/target/common/ > obj/JAVA_LIBRARIES/com.google.android.maps.jar_intermediates/ > com.google.android.maps.jar) > > make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/ > com.google.android.maps.jar_intermediates/javalib.jar', needed by `out/ > target/common/obj/APPS/LifeStory_intermediates/classes-full- > debug.jar'. Stop. > > Here is my Android.mk > > #=== > LOCAL_PATH:= $(call my-dir) > include $(CLEAR_VARS) > > LOCAL_MODULE_TAGS := user > > # List of static libraries to include in the package > LOCAL_STATIC_JAVA_LIBRARIES := com.google.android.maps.jar > > LOCAL_SRC_FILES := $(call all-java-files-under, src) > > LOCAL_PACKAGE_NAME := Test > > include $(BUILD_PACKAGE) > #=== > > What is wrong? > please help me.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en