Hello, Did you find a solution for this problem? I am facing the same problem.
Regards, Sorin On Thursday, January 3, 2019 at 6:42:56 PM UTC+2, Bao Zhu wrote: > > Hi Christopher, > > car-support-lib.jar is necessary. > However, How about the resource packages something like themes.xml and > styles.xml and so on? > > Would you please share a manual or guidance for us to integrate car > features into android studio SDKs? > > Thanks in advance. > Hope your reply. > > Bao > > 在 2018年4月14日星期六 UTC+8上午12:15:42,Christopher McClellan写道: >> >> The Car API's aren't part of the SDK, even if you build the SDK yourself. >> You can copy the jar from the intermediates directory of the output to >> your Android Studio project though. >> >> cp >> out/target/common/obj/JAVA_LIBRARIES/android.support.car_intermediates/classes.jar >> >> ~/car-support-lib.jar >> >> On Monday, March 19, 2018 at 1:09:39 PM UTC-4, Eric Williams wrote: >>> >>> I'm having same issue but this answer did not work for creating SDK with >>> Car API added. Did it work for anyone else? >>> >>> On Wednesday, February 28, 2018 at 12:09:14 PM UTC-5, >>> cmccl...@pillartechnology.com wrote: >>> > You have to include the following line in your product makefile. >>> > >>> > >>> > >>> > >>> > $(call inherit-product, packages/services/Car/car_product/build/car.mk) >>> >>> > >>> > >>> > >>> > This will include all of the default (emulated) services and demo >>> applications. >>> > >>> > >>> > You'll probably also need to set SELinux to permissive in your >>> BoardConfig.mk in order to get started. >>> > >>> > >>> > BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive >>> > >>> > >>> > >>> > Then follow the instructions here to add an SELinux domain for the >>> vehicle hardware service. >>> > >>> https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials >>> >>> > >>> > Don't forget to modify the file_context. >>> > >>> > >>> > That should be enough to get going. >>> > I can't remember with 100% certainty, but I believe the car.mk file >>> will copy the service.rc file to the device for you. >>> > If the service isn't starting, make sure it's there. >>> > >>> > >>> > On Saturday, February 24, 2018 at 1:49:34 PM UTC-5, sky...@gmail.com >>> wrote:Hi, >>> > >>> > >>> > >>> > I‘m facing exactly the same problem. Any progress ok this? >>> > >>> > >>> > >>> > Am Montag, 17. Juli 2017 16:41:13 UTC+2 schrieb Renjith Rajagopal: >>> > >>> > > Hi, >>> > >>> > > I'm a newbie to Android AOSP. >>> > >>> > > I was trying to utilize the Car API/Services/HAL provided by Google >>> from Android N version onwards( >>> https://source.android.com/devices/automotive/). >>> > >>> > > My aim is to develop App that uses this Car API.Android N Standard >>> SDK that was downloaded as a part of Android Studio doesn't include those >>> APIs mentioned in link. >>> > >>> > > I verified it by try importing packages(import android.car >>> ....)..But Car package was not listing at all.I tried building a custom >>> SDK >>> > >>> > > >>> > >>> > > Steps I followed : >>> > >>> > > 1. Downloaded Google AOSP-Android N from git. >>> > >>> > > 2. Verify the existence of those Car services/API are located in >>> /home/symbio/myandroid/packages/services/Car >>> > >>> > > 3. Builded SDK with commands in order : >>> > >>> > > 1 . build/envsetup.sh >>> > >>> > > 2. lunch sdk-eng >>> > >>> > > 3.mm/mma /packages/services/Car >>> > >>> > > 4.make sdk >>> > >>> > > >>> > >>> > > But even I couldn't find or do importing those Car services in newly >>> builded SDK. >>> > >>> > > I'm kind of stuck.Which all makefile Shall I need to change so as to >>> reflect the same ? >>> > >>> > > Any lead will be highly appreciated. >>> > >>> > > >>> > >>> > > Thanks in Advance!!! >>> >>> >>> >>> On Wednesday, February 28, 2018 at 12:09:14 PM UTC-5, >>> cmccl...@pillartechnology.com wrote: >>> > You have to include the following line in your product makefile. >>> > >>> > >>> > >>> > >>> > $(call inherit-product, packages/services/Car/car_product/build/car.mk) >>> >>> > >>> > >>> > >>> > This will include all of the default (emulated) services and demo >>> applications. >>> > >>> > >>> > You'll probably also need to set SELinux to permissive in your >>> BoardConfig.mk in order to get started. >>> > >>> > >>> > BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive >>> > >>> > >>> > >>> > Then follow the instructions here to add an SELinux domain for the >>> vehicle hardware service. >>> > >>> https://source.android.com/security/selinux/device-policy#label_new_services_and_address_denials >>> >>> > >>> > Don't forget to modify the file_context. >>> > >>> > >>> > That should be enough to get going. >>> > I can't remember with 100% certainty, but I believe the car.mk file >>> will copy the service.rc file to the device for you. >>> > If the service isn't starting, make sure it's there. >>> > >>> > >>> > On Saturday, February 24, 2018 at 1:49:34 PM UTC-5, sky...@gmail.com >>> wrote:Hi, >>> > >>> > >>> > >>> > I‘m facing exactly the same problem. Any progress ok this? >>> > >>> > >>> > >>> > Am Montag, 17. Juli 2017 16:41:13 UTC+2 schrieb Renjith Rajagopal: >>> > >>> > > Hi, >>> > >>> > > I'm a newbie to Android AOSP. >>> > >>> > > I was trying to utilize the Car API/Services/HAL provided by Google >>> from Android N version onwards( >>> https://source.android.com/devices/automotive/). >>> > >>> > > My aim is to develop App that uses this Car API.Android N Standard >>> SDK that was downloaded as a part of Android Studio doesn't include those >>> APIs mentioned in link. >>> > >>> > > I verified it by try importing packages(import android.car >>> ....)..But Car package was not listing at all.I tried building a custom >>> SDK >>> > >>> > > >>> > >>> > > Steps I followed : >>> > >>> > > 1. Downloaded Google AOSP-Android N from git. >>> > >>> > > 2. Verify the existence of those Car services/API are located in >>> /home/symbio/myandroid/packages/services/Car >>> > >>> > > 3. Builded SDK with commands in order : >>> > >>> > > 1 . build/envsetup.sh >>> > >>> > > 2. lunch sdk-eng >>> > >>> > > 3.mm/mma /packages/services/Car >>> > >>> > > 4.make sdk >>> > >>> > > >>> > >>> > > But even I couldn't find or do importing those Car services in newly >>> builded SDK. >>> > >>> > > I'm kind of stuck.Which all makefile Shall I need to change so as to >>> reflect the same ? >>> > >>> > > Any lead will be highly appreciated. >>> > >>> > > >>> > >>> > > Thanks in Advance!!! >>> >>> -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/7f74842c-b8dd-49aa-a632-d59b144582e2%40googlegroups.com.