I have tried everything to install google camera on my mi a1 but due to problem of ADB drivers it does not show my device in attached devices list after running "adb devices" command.I have tried everything but it doesn't show my device in that list.plz help me
My solution in the end: install HiSuite !!!!
I have had problems installing the ADB driver for my XIAOMI Mi A1. At one point, the mobile device appeared in the PC device manager but did'nt have any driver.
I tried intalling the Mi PC suite but it coudn't access the device, asking to update the driver.
As suggested in the post mentionned below, I installed the HiSuite. Unexpectidly, it solved my problem. ADB is working now. Besides, HiSuite works as a PC suite for the Mi A1 and even allows now to sync with Outlook.
(see Google: techubber blogspot com 2017 02 mi-pc-suite-and-usb-connection-problems-device-not-connected )
Related
I am trying to install third party apk to Samsung android smart tv...
1) I've turn on Developer mode in Apps and put my computer ip address there.
2) I'm runing this commands in terminal (mac os, the latest version of sdk-tools)
adb kill-server && adb start-server && adb connect 192.168.1.237:26101 && adb devices
Getting this:
* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to 192.168.1.237:26101
List of devices attached
192.168.1.237:26101 device
3) And run:
adb install ./my.apk**
And got this:
Performing Push Install
adb: error: connect failed: closed
- waiting for device -
p.s. almost every command failed with error: closed
(i've tried adb shell, adb logcat, and so on...)
What next step to try ? Is port 26101 correct? (I've also tried port 5555, but get Connection refused
Sorry but I haven't seen any Samsung Smart TV running Android. Samsung has their own operating system (Tizen) but, as far I know you can't install apk apps, also you cannot install apps using adb (in Tizen is named SDB), instead of SDB you need to use the Tizen SDK + Tizen Studio to pair your PC, sign your app (.wgt extension) and install it using the SDB
(I'm almost a newbie in React Native development) today I have started a new project in React Native 0.60 (react-native init MyApp).
After that I typed : react-native run-android to check if everything worked.
After the bundle process is finished
I can finally get my welcome screen in my connected devices
But, if I try to reload the app from my devices I get this error:
How could I address this error ?
EDIT: Thank you for your answers, anyway, I have tried all solutions you suggest but I still get the same problem. I also noticed that when i run react-native run-android Metro Bundler (open in a new cli window) seems to start but it suddenly disappear. I think the problem could be with the message 'Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0'
react-native run-android not working in new react-native version
0.60
now you can use
react-native start
OR
npm start
both command is work
Please use the following two commands and then can start the react native again.
- adb reverse tcp:8081 tcp:8081
- killall node
Then you can run the following the command.
react-native start
Now you can run your application again.
Have a good day.
You need to connect your phone to the server, follow the below steps:
[For detailed help follow this https://facebook.github.io/react-native/docs/running-on-device]
1. Open the developer menu on phone.
2. Open 'Debug server host & port for device'.
3. Type in your machine's IP address and the port of the local dev server (eg. 10.0.1.1:8081). If you have connected over wifi then this will be your computers ip address. (If you are running in your computer I think instead of ip address it would be 'localhost:8081')
4. Go back to the Dev menu and select reload.
Hope it would help.
You need to run adb reverse in the Android Studio terminal so your device can connect to the server. Open Android Studio and click on the terminal button at the bottom. In the terminal, and with your device connected to your computer, enter the command adb devices. This will list the name of the connected Android device. Copy that name. Then enter this command adb -s <device name> reverse tcp:8081 tcp:8081. When you run that command replace <device name> with the name of your device you copied from the other command.
Here is a link to an explanation in the React Native documentation
When opening the Device file explorer window in Android Studio Preview 3, I don't see the device's files (There is a message "Nothing to show").
I searched this topic a lot but couldn't find anything that is relevant to this issue.
I'm using my test device:
Android Galaxy S5 running Android OS 6 (API 23) - Rooted
The specific build of Android Studio I'm using is:
Android Studio 3.0 Beta 6
Build #AI-171.4333198, built on September 13, 2017
JRE: 1.8.0_152-release-915-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Any idea's how to solve this issue?
After struggling with this for a day, the answer for me was associated with disabling SuperUser permissions for the ADB shell on my Android Device.
If you have rooted your device and are using an app like SuperSU, try disabling the SU permission for ADB shell in the apps view list.
First disconnect your Android device from the computer running Android Studio
On your Android device open SuperSU and select the apps tab.
Click on ADB shell and select Access:'deny'
Reconnect your device to your dev computer using a USB cable
In Android Studio open the "Device File Explorer".
You should now see a list of files on the device, including files in /data/data/ and its subfolders
You would think that having SU permissions would be a good thing: but in this case, no.
Disable ADB shell's SU permissions in SuperSU
AS file explorer will execute su 0 sh -c 'ls -l /' to list the files. For unknown reason, SuperSu remove the single quotes and the actual command are su 0 sh -c ls -l /. In such case, the -l will not work. AS file explorer may have some problem to parse the output. So there is nothing to show.
You can check the log of AS to get such behavior. Open the log from: help -> show log in explorer
As I was trying to install the app in my emulator through command prompt, it shows--
"error- more than one device and emulator."
I've 4 emulator but only 1 was online while I was installing the app.
I use this command (without quotes)
"adb install .apk"
Need help!!
close emulator, close adb. open and reconnect, you can use
adb devices
to see connected devices.
After installing the simulator I am not able to follow the instructions found here. I installed BlackBerry 10 Dev Alpha B Simulator. The page asks to run "BlackBerry10Simulator-BB10_ n_nn" but I cannot find any thing like that in my installation directory:
ls -1 BlackBerry10Simulator-BB10_0_10-261/
BlackBerry10Simulator-BB10_0_10.vmwarevm
bbm
controllers
install
I found "runBB10Simulator.sh" in the bbm directory but running it does not actually run a simulator, I am not sure what it does.
$ls -1 BlackBerry10Simulator-BB10_0_10-261/bbm
KeyNego.SIMULATOR.keystore
README.txt
Servers
bin
classpath
licenses
runBB10Simulator.sh
shutdown.sh
Can anyone help?
The simulator requires VMWare player, a free download.
http://www.vmware.com/products/player/
Cheers
EDIT:
Mac OS requires http://www.vmware.com/products/fusion/overview.html which is not free. Either bootcamp windows, install a linux distro or virtualize either to virtualize the emulator... (XZibit meme someone?) which is likely not going to work.
MAC OS requires VMFusion 30 day trial for installing the BB 10 simulator.
#russoue:- Once you install VMware Fusion Just open the **BlackBerry10Simulator-BB10_0_10.vmwarevm** with VMware Fusion and you are done. it will take some 5 min to load simulator.