I install Android Studio about 2 week ago and all work fine. But today I run studio and it don't start. I remove and install again. But it also don't work.
open -a /Applications/Android\ Studio.app
LSOpenURLsWithRole() failed for the application /Applications/Android Studio.app with error -10810.
macOS Catalina 10.15.6
I deleted folder /Users/user/Library/Preferences/AndroidStudio4.0
And run app. App run and work correct.
Related
I don't see Installing APKs process when I run the AVD but it's work fine and the virtual device runs but I don't see my application
I have cloned Wix RNN2 repo [Branch v2] and I am not sure how to run playground on my emulator.
If I just run npm run start, I get this error:
> rm -rf ./lib/dist && tsc
'rm' is not recognized as an internal or external command,
operable program or batch file.
Windows cannot recognize that command because its linux.
I have tried running the app from Android Studio, and on my emulator, it says:
Unable to load scripts from assets 'index.android.bundle - which is because I don't have Metro Bundler making a bundle for me.
Anyways, what is the right way to run this example by Wix RNN2?
I have VSCode, Expo, Android Studio and my android build has no errors for the Android project.
follow these steps:
1) git clone https://github.com/wix/react-native-navigation.git
2) cd react-native-navigation
3) npm install
4) npm start
5) open xcode
I am using two methods to build an APK in React Native project.
using react-native run-android and take the latest apk from projectFolder>android>app>build>output>apk.
react-native bundle --dev false --platform android --entry-file index.android.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/debug
then run:
cd android
gradlew assembleDebug
then physically locate the file at android/app/build/outputs/apk folder:
app-debug.apk
app-debug-unaligned.apk
The problem I am facing is that if I am building apk from above-mentioned methods then generated apk is not the build of updated code. But the same code which I am running on the Android simulator of Android Studio is working perfectly. Also if I am using a real device as an emulator connected to the android studio, it's running on the older version of build.
(Posted on behalf of the question author, from a comment).
This was solved as follows:
enable usb debugging.
download latest usb driver for phone.
setx PATH "%PATH%;C:\Program Files\android-sdk\platform-tools" (see here)
execute adb. exe from C:\Users[youruser]\AppData\Local\Android\android-studio\sdk\platform-tools
run adb devices in cmd to see list of connected devices
Run the following in a command prompt:
$ adb -s <device name> reverse tcp:8081 tcp:8081
To find the device name, run the following adb command:
$ adb devices
I am new to Windows 10. I am building Screencat app for Windows. But when I run the "npm start" in console, I get the below popup asking for how I want to open the js file.
Is it possible to run electron apps in Windows 10?
For Screencat npm start runs the command electron electron.js. It seems that your OS is not recognising electron as a valid command.
Did you follow the instructions (https://github.com/maxogden/screencat#building-the-app) for Windows completely? In particular, installing C++ and installing and running electron-rebuild.
You will need Visual studio C++ installed so you can build the native modules. Here are instructions for cmd.exe
git clone https://github.com/maxogden/screencat.git
cd screencat
npm install
npm install electron-rebuild
.\node_modules\.bin\electron-rebuild.cmd
npm start
Hello I'm trying to run my application on windows phone.
Therefore I use:
cordova run wp8 --device
But I get this error:
ERROR: Error code -2146233087 for command: C:\Program Files (x86)\Microsoft SDKs \Windows Phone\v8.0\Tools\Xap Deployment\XapDeployCmd.exe with args: /installlau nch,C:/pathToProject/platforms/wp8/Bin/debug/CordovaAppProj_Debug _AnyCPU.xap,/targetdevice:de ERROR running one or more of the platforms: Error: C:\pathToProject\platforms\wp8\cordova\run.bat: Command failed with exit code 2 You may not have the required environment or OS to run this project
I'm using cordova 5.0.0, ionic 1.4.5 and npm version 1.4.28 and I am on a windows 8.1 pro 64 bit.
I've googled around but couldn't find any working solution on this.