• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

android 11 custom update

Hi Sir,
I try to develop android system, I have some problems about development.
I get used to ubuntu18 and tag of android 11 is android-11.0.0_r17,
I have built successfully with lunch 30 "aosp_x86-eng" and I have seen $OUT files and checked
then I prepared test_aosp.sh file under ~/bin
the results are like that and no emulator window appears:
$ ./test_aosp.sh
emulator: Android emulator version 30.0.21.0 (build_id 6647651) (CL:N/A)
emulator: Found AVD name 'a25x86'
emulator: Found AVD target architecture: x86
emulator: argv[0]: 'emulator'; program directory: '/home/ubuntu/aosp/prebuilts/android-emulator/linux-x86_64'
PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

the content of test_aosp.sh is :
#!/bin/sh
emulator -avd a25x86 -verbose -show-kernel -system $OUT/system.img -ramdisk $OUT/ramdisk.img -initdata $OUT/userdata.img

when I checked ROGER YE notes, before that partition he had run ~/Android/Sdk/emulato/emulator @a25x86, also I did it with the last version of android-studio.

Also I try to do following thing but is has loop in the command line and the black window of emulator shows up but not appear any menu and any more:
$ sudo ~/Android/Sdk/emulator/emulator -avd a25x86 -verbose -show-kernel -system $OUT/system.img -ramdisk $OUT/ramdisk.img -initdata $OUT/userdata.img

also I have checked the emulator location with the following command:
$ which emulator
/home/ubuntu/aosp/prebuilts/android-emulator/linux-x86_64/emulator

also I want to add following results, maybe you want to check it:
$ printenv |grep ANDROID
ANDROID_DEV_SCRIPTS=/home/ubuntu/aosp/development/scripts:/home/ubuntu/aosp/prebuilts/devtools/tools:/home/ubuntu/aosp/external/selinux/prebuilts/bin:/home/ubuntu/aosp/prebuilts/misc/linux-x86/dtc:/home/ubuntu/aosp/prebuilts/misc/linux-x86/libufdt
ANDROID_TOOLCHAIN_2ND_ARCH=
ANDROID_PRE_BUILD_PATHS=/home/ubuntu/aosp/prebuilts/jdk/jdk11/linux-x86/bin:
ANDROID_HOST_OUT_TESTCASES=/home/ubuntu/aosp/out/host/linux-x86/testcases
ANDROID_JAVA_TOOLCHAIN=/home/ubuntu/aosp/prebuilts/jdk/jdk11/linux-x86/bin
ANDROID_TARGET_OUT_TESTCASES=/home/ubuntu/aosp/out/target/product/generic_x86/testcases
ANDROID_BUILD_TOP=/home/ubuntu/aosp
ANDROID_BUILD_PATHS=/home/ubuntu/aosp/out/soong/host/linux-x86/bin:/home/ubuntu/aosp/out/host/linux-x86/bin:/home/ubuntu/aosp/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin:/home/ubuntu/aosp/development/scripts:/home/ubuntu/aosp/prebuilts/devtools/tools:/home/ubuntu/aosp/external/selinux/prebuilts/bin:/home/ubuntu/aosp/prebuilts/misc/linux-x86/dtc:/home/ubuntu/aosp/prebuilts/misc/linux-x86/libufdt:/home/ubuntu/aosp/prebuilts/clang/host/linux-x86/llvm-binutils-stable:/home/ubuntu/aosp/prebuilts/android-emulator/linux-x86_64:/home/ubuntu/aosp/prebuilts/asuite/acloud/linux-x86:/home/ubuntu/aosp/prebuilts/asuite/aidegen/linux-x86:/home/ubuntu/aosp/prebuilts/asuite/atest/linux-x86:
ANDROID_EMULATOR_PREBUILTS=/home/ubuntu/aosp/prebuilts/android-emulator/linux-x86_64
ANDROID_PRODUCT_OUT=/home/ubuntu/aosp/out/target/product/generic_x86
ANDROID_PYTHONPATH=/home/ubuntu/aosp/development/python-packages:
ANDROID_TOOLCHAIN=/home/ubuntu/aosp/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin
ANDROID_JAVA_HOME=/home/ubuntu/aosp/prebuilts/jdk/jdk11/linux-x86
ANDROID_HOST_OUT=/home/ubuntu/aosp/out/host/linux-x86

Could you guide me?
Thank you
Regards

LG Wing

I see there isn't a forum room for the LG Wing.

Does anyone on here have this phone yet.

What are your thoughts about the phone if you have one after use..

Do you have a case for it? If so what is it?

I am looking at ordering tomorrow with its release on AT&T. I am pretty rough with everyday use so I want to make sure it's rugged enough. Currently use a lifeproof case on my Galaxy.

Help Replaced LCD+frame and now I have no "speaker-phone" function.

So, I replaced the LCD+frame and that works fine. I wish I knew what the frame was before I did it though because I think that may be why this function stopped working. Maybe the speaker got damaged transferring it over? I was very careful though. The handset works and I can hear, but it's not the best quality and when I turn on speaker-phone I can't hear anything. I can only hear if I have speaker-phone turned off.

What would cause this? Where can I buy just a new speaker? Or whatever component you folks think is the problem? I know it's a cheap phone and I could just buy a new one, but I like learning how to do this kind of thing. It's fun.

Thank you!

Reset Phone For Donation- But Screen Not Working

Thanks Hadron for the tip. I apologize for my absence in replying promptly. Life's challenges got in the way- again.

Unfortunately, for Find My Phone to work on my phone, I have to get in & turn WiFi on (no data plan). I did ask the charity what they do when a phone is locked with a password. The person said that they have software to nuke some phones and they can't see inside before nuking.

She said many phones can't be wiped when locked, so they would call me & I can go there to unlock and wipe it. That sounds like a good plan to me, as I have no concerns that the people are not honest.

I empathetically chuckled when I read what you wrote, dontpanicbot: That phone had gone through more cities and towns than I have all year.
I surely agree with your statement: COVID-19 SUCKS! You hit the nail on the head!

Thanks Again All for helping me figure this out. I learned a lot.
Please Enjoy Today!
Paul

App Inventor Unknown characters "��" received via Bluetooth Low Energy in Android Studio

Good morning all,
I am working on a project to transmit data from a microchip card with Bluetooth Low Energy module (BM64 Microchip) to a mobile application developed in Android Studio.

While reading data on my phone, I notice receiving unknown characters from time to time. The characters received are sometimes good sometimes bad.

Here is an example of the data received, I send 15 and I receive: �5 or 1� and sometimes I receive 15.
upload_2020-11-5_14-54-10.png


Here is an excerpt from the code I used in C to program the sending of the data:
upload_2020-11-5_14-54-23.png


Here is an excerpt from the code I used in JAVA to program the reception of the data:
upload_2020-11-5_14-54-33.png


Can someone help me with this? I thank you in advance.
Have a nice day.

Apps Creation of Android Plugin for Unity

hello guys! this is Krishna. basically a unity dev. I was in the process of making an android plugin to for unity to enable GPS in an android phone. I'm completely new to Java and Android studio. I was able to find a code and was trying to convert it to a library and I started to face issues.

Need help in resolving the errors pls the code given I have for the library is as in the link below: https://pastebin.com/vxVygCSk

Line #35

Task<LocationSettingsResponse> result = LocationServices.getSettingsClient(getApplicationContext())

In the above code, I understood that getApplicationContext() shouldn't be used in an android Library. but not sure how do I do a workaround.

Also, Line # 48
resolvableApiException.startResolutionForResult(MainActivity.this, REQUEST_CHECK_SETTING);

MainActivity is not something that is to be used for a plugin. How do I redo this step?? any support will be of great use to me pls!!

Filter

Back
Top Bottom