Re: [android-building] sdk 23 bytecode does not match source

2019-03-25 Thread Colin Cross
Studio is decompiling the android.jar shipped with the SDK, which only contains the public API of each class with the implementation replaced with an exception. On Mon, Mar 25, 2019 at 7:34 AM Robert Durkacz wrote: > I have built ApiDemos sample code with sdk 23 and get wrong behaviour with >

[android-building] Best way to create custom emulator-only lunch

2019-03-25 Thread Joerg Pleumann
Hi, I haven't paid much attention to the emulator in the last 5-10 years because we almost always had a matching hardware at hand. Now I am in need of creating a custom lunch that is emulator-only, running on x86. I tried to clone some of the existing x86 lunches and added my modifications,

[android-building] Re: AOSP libselinux build error for android-q-preview-1

2019-03-25 Thread 贺帅
https://android-review.googlesource.com/c/platform/external/selinux/+/897339 在 2019年3月14日星期四 UTC+8下午2:01:56,Jacob Abrams写道: > > Getting the following error when trying to build Q preview aosp generic > aosp_arm: > > > PLATFORM_VERSION_CODENAME=Q >

[android-building] Re: Flashing AOSP master on Pixel failed (Android Q)

2019-03-25 Thread andrew_esh
I would not expect the AOSP source code base to be fully runnable at this stage. Anything on there is probably going to be previews of bits and pieces of what will eventually become the full release. The only way to get Android Q running on a device at this stage is to install one of the binary

Re: [android-building] Flashing AOSP master on Pixel failed (Android Q)

2019-03-25 Thread Yuan Zhou
Hello dan, I have downloaded, and it works a charm! It is so hard to get a correct vendor.img. Thank you so much! Yuan 在 2019年3月25日星期一 UTC+8上午12:25:08,Dan Willemsen写道: > > Had you downloaded the appropriate device blobs from here: > https://developers.google.com/android/blobs-preview ? > >

[android-building] What's the correct way to make pm module ?

2019-03-25 Thread 林果皞
Hi, I try to build `pm` module in emulator Marshmallow. My platform is Ubuntu 18.04. I choose aosp x86_64, and emulator Android 6 x86_64 (without play) created in AVD. I did success make both framework and then pm module with `LANG=C make framework -j4 VERBOSE=1` and `LANG=C make pm -j4

[android-building] sdk 23 bytecode does not match source

2019-03-25 Thread Robert Durkacz
I have built ApiDemos sample code with sdk 23 and get wrong behaviour with InstallPackage demo. I trace problem into SDK code with debugger. Android Studio decompiles sdk code for me showing frequent throws of Runtime Error ("Stub!"). I download source code for SDK level 23 and the source code