Is it possible to create native android application without using ADT plugin. Creating android app using notepad and compiling and building using command line.
Yes, you can use the SDK Tools only. Take a look at Managing Projects from the Command Line.
Related
Assume that I developed Flutter plugin about our company service.
Some clients want to use our plugin in their native app(iOS, Android).
This scenario can be possible?
Yes. It's possible to use Flutter plugin in Android studio.
The Android Studio IDE is a convenient way of integrating your Flutter module automatically. With Android Studio, you can co-edit both your Android code and your Flutter code in the same project. You can also continue to use your normal IntelliJ Flutter plugin functionalities such as Dart code completion, hot reload, and widget inspector.
Add-to-app flows with Android Studio are only supported on Android Studio 3.6 with version 42+ of the Flutter plugin for IntelliJ. The Android Studio integration also only supports integrating using a source code Gradle subproject, rather than using AARs. See below for more details on the distinction.
You can see in detail about that in https://flutter.dev/docs/development/add-to-app/android/project-setup
The error I get on the console; When I run the command "phonegap emulate android"
->Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: C:\Users\wende\AppData\Local\Android\sdk\tools\templates\gradle\wrapper
I also experienced this issue (among many others) in my attempts to get a phonegap app to work in my environment.
I found a solution in the second response (by jcesarmobile) to this question:
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK - Android
Specifically, I had to make sure my Android Studio and Android SDK Tools were updated to the latest version, and then I had to update my Cordova Android platform to version 6.2.2.
phonegap cordova platform rm android
phonegap cordova platform add android#6.2.2
I'm trying to develop an Android app using intelliJ, I've downloaded and installed Android SDK, but I cannot add it.
I've set up the environment variable ANDROID_HOME, and set the "PATH" variable to where my android sdk is + "\platform-tools" (i.e. .....\sdk\platform-tools),
But when I try to android SDK, it's not listed
Any ideas?
You have Android Studio. Why would you bother to install Android SDK in intelliJ?
Android Studio has a purpose of existing. I dont event think it s possible to add android SDK to IntelliJ. Download Android Studio and stop bothering yourself. Google would have said to use to use IntelliJ with Android SDK if it was designed to work like this instead struggling to make a complete IDE.
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 am migrating to android Studio from eclipseADT, Can I use the same android sdk's from eclipse?
I used the following links to migrate:
Exporting from eclipse.
Importing to Android studio.
You could also look over this link: http://developer.android.com/sdk/installing/migrate.html
And yes of course you can use the same android SDK.
SDK stands for Software Development Kit and has nothing to do with the different IDEs(Eclipse, Android Studio) really. The IDE will use the SDK of course but the SDK is unaware of which IDE is using it. You should have no problems with using the same SDK, you just have to set some paths in Android studio.