Error when Downloading Android Things image for Raspberry Pi 3 - raspberry-pi3

I am trying to download an Android Things image for Raspberry Pi 3 and I get this 403 Forbidden error. What can I do?
What do you want to do?
1 - Install Android Things and optionally set up Wi-Fi
2 - Set up Wi-Fi on an existing Android Things device
1
What hardware are you using?
1 - Raspberry Pi 3
2 - NXP Pico i.MX7D
1
You chose Raspberry Pi 3.
Setting up required tools...
Fetching additional configuration...
Downloading platform tools...
4.74 MB/4.74 MB
Unzipping platform tools...
Finished setting up required tools.
Raspberry Pi 3
Do you want to use the default image or a custom image?
1 - Default image: Used for development purposes. No access to the Android
Things Console features such as metrics, crash reports, and OTA updates.
2 - Custom image: Upload your custom image for full device development and
management with all Android Things Console features.
1
Downloading Android Things image...
could not download image: unable to download image: error downloading file: error downloading file: error downloading https://storage.googleapis.com/things-images/images/iot_rpi3.img.zip: 403 Forbidden
Press [Enter] to quit.

There is an issue on that... I also got the same result on my Mac.
In the meantime, you can do it manually by creating a new project in the Console, building a blank image and flashing it into a microSD card. Then follow the setup instructions.
In order to build an image click on the project's model ID (see the picture below) and follow the configuration steps.
Once built, the image can be downloaded.

These default images and tools are not longer available. You can now only flash your device using factory images for your console product.
I would also recommend reviewing the latest information on the FAQ page to learn more about the Android Things platform status.

Related

Error for Android Emulator: Deciding if GLDirectMem/Vulkan should be enabled

When I tried to run the project on Andriod Studio on mac, I got an internal error as below:
Andriod Emulator closed because of an internal error:
emuglConfig_init: blaclisted=0 has_guest_renderer=1
emuglConfig_init: auto-selected host based on conditions and UI preference 0
Deciding if GLDirectMem/Vulkan should be enabled.
Selected renderer: 1API level: 27 host GPU blacklisted?1
Host GPU selected, not enabling Vulkan because either API level is
Not enabling Vulkan here(Feature flag may be turned on manually)
Please look at the attached Screenshot of error for more details:
solution source-> https://stackoverflow.com/a/63244455/16412512
You can work around it as indicated here https://stackoverflow.com/a/59715169/1796802 :
Create the file ~/.android/advancedFeatures.ini (for Windows users path should be C:\Users\Dane.android\advancedFeatures.ini) with the following content:
Here's how to disable Vulkan apps to talk to the emulator.
# Add the following lines to ~/.android/advancedFeatures.ini (create this file if it doesn't exist already):
# Vulkan = off
# GLDirectMem = on
Currently, Andriod studio 3.5.1 doesn't support Intel UHD Graphics 630 1536 MB (MacBook 2019). Please find more information here.
For my case, I solved the issue by updating the "Android Emulator" to the latest version from Android Studio > Window > SDK Manager > SDK Tools (Ensure that Android Emulator is updated to the latest version).
In my case, I had to update/install my Intel VGA drivers. Although Nvidia was installed

Can't Install ARCore Emulator for Android Studio

I don't know if I'm allowed to ask this question but I really can't figure out how to use ARCore on Android Emulated Device.
According to the official guide I'm supposed to use API 8.1 on pixel/pixel 2 device in order to run any app which uses ARCore. Sadly those emulator don't come with the support for Play Store, and without Play Store I can't Instal ARCore on the device.
The device images that come with built in Play Store can't run ARCore instead. I'm really confused about how am I supposed to test anything for ARCore in this way.
I need it to develop an app for a University program and I need to become familiar with Augmented Reality Development but I can't even get started because of this issue.
Updated: October 20, 2022.
For using ARCore Emulator, at first, you have to create a virtual device with support for AR. I'm running Android Studio Dolphin | 2021.3.1 on macOS Monterey 12.6.
I created Pixel 6 Pro virtual device:
ARCore's targetSdkVersion has been set to Android API level 33.
Here are the steps you have to make in order to get a working Emulator:
Set up Android Debug Bridge. I set up adb for Mac.
Download Google_Play_Services_for_AR_1.34.0_x86_for_emulator.apk from GitHub repository.
Run your AVD.
Type in Bash Terminal the following command (to be sure that the port is 5554):
adb devices
Result:
// emulator-5554 device
Go to the folder where Google_Play_Services_for_AR_1.34.0_x86_for_emulator.apk is located. For instance:
cd ~/Desktop
To install Emulator, type in Terminal the following line, while the virtual device is running:
adb install -r Google_Play_Services_for_AR_1.34.0_x86_for_emulator.apk
Repeat previous steps for additional AVDs you’d like to use.
Delight!
P.S.
Take it into consideration: Android Emulator does not support such ARCore APIs as: Depth API, Geospatial API or Augmented Faces API. That's because Emulator doesn't have corresponding sensors. When any of these features are enabled, the Emulator picture can't render correctly: a screen will be entirely black, although UI elements drawn on top of the Emulator picture still be rendered.
Sergei's answer was right at the time, but the version of the ARCore app in his link (v1.1.0) is now too old. The following worked for me (after many false starts):
VIRTUAL DEVICE SPECIFICATIONS
Device: Pixel API 27
System image: Oreo / API Level 27 / ABI x86 / Android 8.1 (Google Play)
LINK TO ARCORE APK:
https://www.apkmirror.com/apk/google-inc/arcore/arcore-1-5-18091013-release/arcore-1-5-180910139-android-apk-download/download/
Download the ARCore APK to your desktop. In Android Studio, set up and then start the virtual device as specified above, open the Play Store app on it and sign in. Then drag the ARCORE APK file onto the virtual device; it should silently install. Finally, run hellosceneform on the virtual device.
Just install to emulator ARCore_1_1_x86_for_emulator.apk. Just drug to emulator. Check this link https://github.com/google-ar/arcore-android-sdk/releases/tag/v1.1.0

HX711 module and NodeMCU devkit 0.9

Good morning.
I have a NodeMCU devkit 0.9 and I am trying to interface it with a load cell amplifier (HX711), which I saw has libraries for NodeMCU.
I tried 2 options:
Custom build from nodemcu-build.com for master and dev branches. After flashing the bin file and opening ESPlorer /dev/ttyUSBx port I tried to upload the basic web server code from here. But when I go to the browser and type the IP nothing is displayed.
Build my own firmware, uncommenting the HX711 module and limiting my flash size to 4M and use esp-open-sdk to have the xtensa-lx106-elf module. After building without errors I flashed the generated bin file and the same thing happened. The web server doesn't seem to be running.
I am a bit confused because the only bin that is working with my devkit 0.9 board is the last one available in the releases, which is the 0.9.6-dev_20150704, but this one doesn't have the modules I need to proceed with my HX711 project.
When I build using the 1.4/1.5/2.0 NodeMCU firmware I'm not able to get the same things working (at least the web server basic code). I tried several combinations of user configs (baud rate, activating devkit 0.9 define, develop mode, auto flash vs 4M flash).
What procedures should I follow to have the HX711 working with the NodeMCU devkit 0.9?
Best regards.

Kinect installation error

i recently brought kinect sensor. As per system requirement i purchase desktop . Now followed installation mentioned bellow link. I also downloaded verification link. when check installation it giving me below error. let me know how to sort it out
i already tried reinstal directx 11 download from Microsoft & restarted computer. but i found in device manager only one part is detected. kinect sensor information not avilable.
please let me know what wrong i am doing here
install link
kinect verifier link
You need to buy a faster GPU that supports DX11.
According to:
http://www.game-debate.com/hardware/?gid=326&graphics=GeForce%20210%201GB
http://www.tomshardware.co.uk/answers/id-2297019/play-directx-supported-games-geforce-210.html
your Geforce 210 only supports up to DX 10.1, as is also shown in
your first screenshot as Direct3d API version.

genymotion failure install failed cpu api incompatible

i recently started using genymotion i am newbie as they say, i figured out how to launch apps but the problem is the apps the i installed successfully are chat or programs apps only no games apps want to be installed on the virtual device i always get this message failure install failed cpu api incompatible, i am using 2 pcs
both windows 7 x64 both got the same issue i will upload pics of the cmd commands i used
http://imgur.com/yCjuWqm
http://imgur.com/qg3dump
all i did i just installed these virtual devices
Galaxy S4-4.3 - API18 - 1080x1920
WXGA 10.1 Tablet - 4.3 - API 18 - 1280x800
so if u have any Questions or effective suggestions please help me :)
Best Regards,
Alex
To solve INSTALL_FAILED_CPU_ABI_INCOMPATIBLE on Genymotion, download following Zip files:
Arm Translation Installer
GApps
from this site http://forum.xda-developers.com/showthread.php?t=2528952
First drag&drop Arm Translation Installer zip file to virtual android machine
Press OK for the warning
Reboot virtual android machine
Drag&drop GApps to virtual android machine
(May took around 15 seconds to copy the files as GApps is around 350MB)
Reboot your virtual android machine.
Here you go, install your APK now!
Gapps for Lolipop download link:
http://downloadandroidrom.com/file/gapps/5.0/gapps-lp-20141109-signed.zip
Genymotion is supporting x86 only.
The error means that your apks does not support x86 architecture (probably only ARM).
You may be able to install it manually : http://forum.xda-developers.com/showthread.php?t=2528952

Resources