Raspberry does not boot with android things - android

Wrote Android things image on a micro SDCard and inserted that card into Raspberry Pi 3 Model B and turned on power,At starting it shows 'Auto config Please wait' then the screen remains empty
I had tried connecting it with PC and it is not detected by adb
How could we test whether it is booting OS or not?
Why nothing is shown on the screen?

The actual problem was the build that I generated in android things, Initially triggered the latest Android things build, which kept on failing to boot, so again triggered another standard build that works fine and use Class10 SD cards to write the Android Things

I had the same problem. I solved it by unziping with https://theunarchiver.com/ which was recommended here https://developer.android.com/things/hardware/raspberrypi.html

Related

Running out of memory when deploying Xamarin Forms Android app

The problem I am having is that when I try to run my application onto my android emulator I get the error of: There is not enough storage space on the device to store package:/data/local/tmp/Mono.Android.DebugRuntime-debug.apk. Free up some space and try again.
The emulator runs fine, its when I try and deploy the app that it gives me the message. I know that it has something to do with space on the enumlator. I have tried to see what I could find on here but none of it seems to work in this case. I have looked up some of the same questions on here but so far they have not been effective. I have tried to uninstall apps, clear data, change the size of the sd card and ram, also I have tried to make the java heap bigger. At this point I do not know where to go from here.
I am pretty much asking what can I do from here to try and fix this issue? I will provide pictures of the setting and the exact output messages since there where no error messages technically. I am using visual studio enterprise 2017 and using Xamarin Forms.
Pictures here:
This is a picture of the settings for the emulator
This is the second picture of the settings for the emulator
This is the picture of the Output window where I get the message
I had a similar issue (not Xamarin forms, just Xamarin app in general)
After resetting the device in Android Device Manger I set the DataPartition via the GUI to 2GB. Restarted the device but the dataPartition was still 200mb. (seen in the hardware-qemu.ini).
I noticed the Device Manager wrote to the config.ini the line
disk.dataPartition.size=2 GB
So what I found worked for me was.
Factory Reset the device
Manually edit the config.ini to read 2000m not (not 2 G)
disk.dataPartition.size=2000m
Restart the device
Here is a screen shot of my emulator on a Mac.
Stupid question your pc does have enough ram and local storage right ??
part1:
part2:
What also helped was factory reset (too many test apps installed)

React Native adb devices not showing up

I've been working with React Native for about the last week on my mac. After the initial setup which was a pretty huge pain in the ass I've had no issues building my app. Of course, today all builds decide to fail and I get the following message
I run adb devices and it looks like my device has disappeared?
Debugging, etc is enabled in my settings and I've setup the android environment obviously because I've been developing like this for about the last week.
I vaguely remember using the linux setup to get it working initially
https://facebook.github.io/react-native/releases/0.21/docs/getting-started-on-linux.html
But now my device isn't even showing up when I run lsusb
I've also tried different USB cables and different ports but still doesn't show up.
Any thoughts what this could be? Thanks

Android Device Chooser not show my device in one device

I'm working in Eclipse Luna in osX Yosemite and I have a little problem.
In one of my projects, when i try to execute the app The ADC appears blank without any physical device.
That project was working but when i changed the name of the project it stopped executing correctly.
After some investigate I've seen that in projects that I executed previously and have "Use same device for future launches" marked it works but when I need to choose I can't do it.
I've tried two different devices, change the USB cable, fix project properties, reset the ADB server.
Any ideas or suggestions?
Thanks.
I have also faced the same problem.Adjust the bonds of Serial Name by making the area larger or smaller and your device will be visible.

Transfer Android app from galaxy to pc

I have made an android app using eclipse and run in on my galaxy device.
then My App files on my computer deleted somehow so I lost all my project(no backup).
I have the app on my galaxy and I can run in it fine.
There is a any way to transfer it to pc so I can reuse it?
Thanks a-lottttt
Zachinio
Are you looking to reuse it as in get back to the source code? Or just reinstall the APK to some other devices via your PC?
If the latter, it should be straight forward via adb put and adb get.
If the former, it depends whether you used Proguard to obfuscate your code... If it is a relatively small app, you can still get the code but not necessarily with the same symbols you originally gave it), using AntiLVL.

Android Emulator SD Card Problem

I have a problem with the Android Emulator and its SD card. I am developing an application that writes files to /sdcard. Everything works fine, until I exit the emulator by clicking its close button. After restart the files are empty (size 0), but still in the directory. Of course, they have not been empty as long as the emulator runs.
This looks like a failed sdcard unplug, like with usb stick. But I am not sure, how the emulator treats the card exactly. I am starting the emulator from Eclipse, and get an error at exit, when I close the emulator.
The problem did not exist before I updated my Android plugin. I could use all my files after restarting the emulator. Moreover, the problem does not occur on the real thing. I am using the most recent Android stuff, and Eclipse 3.5.
I already tried deleting my emulators and creating a new one. I also tried shutting the emulator down with the red telephone button, but that did never complete. Of course, my app is not a service and has no threads pending at shutdown.
Any ideas, you friendly people out there?
I am currently seeing the same problem on mine using an API 4 emulator, but putting the apk on my actual android device it works fine. It only happens if I close the emulator and restart using "Debug As" or "Run As". My current workaround is to start the emulator before running / debugging my app... not shutting down the emulator prevents this from happening, although I wish I had a real fix.
The problem went away by itself. I have no idea, what caused the healing. I did not do anything particular. I just continued working.
Thanks for your attention.

Categories

Resources