I'm running Ubuntu 17.04 and Android Studio 2.3.3.
I've developed a web application and made a Cordova project from it.
Now I've created android platform, and need to open the platform with Android Studio in order to sign the app and upload it to the Play Store.
The thing is that Build Variants option is not showing. Don't know what I'm missing.
I checked this link
Android Studio - Build variants not showing up
But no results.
Any ideas?
Related
I´m trying to run react-native in a android emulator (ejected expo project), but react-native cannot find a proper version of the SDK. If I run react-native doctor, this is what the it is displayed:
Note that I've added every single possible Android SDK build version from Android Studio, and none of them seems to be accepted by react-native...
Any clues?
I just started learning flutter and I have a question.
1-is it possible to compile the code that in the android studio or visual studio straight to ios?
2-if I cannot compile it straight to ios, can I use those codes and compile them with Xcode in a macos without any change in them(flutter codes that i wrote in the android studio or visual studio)?
Yes, you need Xcode installed though.
A Flutter project built in Android Studio compiles directly for iOS.
You can build directly for iOS from Android Studio, but Xcode needs to be installed.
You can also
build from a terminal using flutter build ios --release
debug from withing Android Studio a Flutter project running on an iOS simulator or device.
It is possible.
You just have to open the application using Xcode and run it on you iOS device or emulator. Please note that iOS apps can only be built and tested (on both emulators and real devices) on macOS!
Run flutter doctor to detect any setup problems that might need to be fixed.
Also use that native IDEs (Android Studio for Android, XCode for iOS) to build + run your app.
As specified here, I should not need to install ADT if I have Android Studio and SDK installed.
I'm trying to test this in response to a customer's question on whether or not you can use Android Studio instead of ADT. Because ADT is no longer supported as stated here.
Here's my steps:
install eclipse.
Install MobileFirst Studio v6.3 from eclipse marketplace.
Install Android Studio (which also installed Android SDK), able to launch Android Studio and run an empty app.
Specify the location of Android Studio in Window > Preferences > MobileFirst.
Create MFP project, add Android environment.
From menus select Run As > Build All Environments.
At this point the build failed. Do I still have to install ADT in order to be able to build?
UPDATE:
Error Log
[2015-01-30 12:50:22] Starting build process: application 'demo', all environments
[2015-01-30 12:50:29] FWLST1125W: Android build will fail because an Android SDK was not installed. Use the Android SDK Manager to install API level 19, configure your project to build with API level 19 by updating the Project Build Target in Project / Properties / Android dialog.
[2015-01-30 12:50:30] Application 'demo' with all environments build finished.
Because you selected the Run As > Build all, this will indeed give you the Warning you have mentioned since you do not have ADT installed. Because you do not have ADT installed, the usual generated Android project that Worklight/MFP generates for you will fail to generate.
If you want to open your project in Android Studio, you should right-click the Android environment and select Run As > Android Studio Project.
The project should then correctly open in Android Studio.
I had the same problem with the beta version (MFPF 6.3) for Windows. The solution was to install the Fix Pack 6.3.0.0-MFPF-StudioP2-IF201502141702.zip found here. After installation you must reconfigure the path of Android Studio (Windows > Preferences > MobileFirst)
I am not sure if this will be of help, as this is a very old post. Try pointing to android studio home and not to bin folder. Some thing like C:\IBM\Android Studio.
I have also faced the same issue and solved it by pointing to android studio home folder.
I have an existing Cordova app that I've been testing in Xcode.
The workflow was simple:
1. cordova build ios
2. open xcode project file in Xcode
3. either run in simulator or build directly to device
I'm tyring to figure out the same for running an Android build for testing.
1. Installed Android Studio
2. Installed and configured Android SDK 19
3. When I setup my run configuration, it says:
"AndroidManifest.xml doesn't exist or has incorrect root tag"
I've followed the trail to Cradle, migrating existing project to Cradle, but have been unsuccessful so far in figuring out how to take an existing Cordova project and getting it to run on my device.
Is there a workflow as easy as Xcode's 1...2...3... for Android?
As far as I know, android studio isn't officially supported by cordova/phonegap yet, you should use the ADT.
But here you can read how to work with android studio beta and cordova/phonegap
http://iphonedevlog.wordpress.com/2014/10/10/using-android-studio-beta-with-cordova-phonegap/
I installed android studio on ubuntu by downloading it directly from http://developer.android.com/sdk/installing/studio.html#download...According to the site:
"This installation includes:
Android Studio Beta
All the Android SDK Tools to design, test, and debug your app
A version of the Android platform to compile your app
A version of the Android system image to run your app in the emulator"
However there is no sdk included in the package. I also then tried installing android studio using udtc, and the same thing happened. If anybody has installed android-studio beta v0.8.14, successfully your help would be greatly appreciated.