Android to iOS - gradle versus podfile - android

I am switching from Android to iOS version of the app that I am making. I am starting to learn iOS. One of the observations I have is that gradle equivalent on iOS would be podfile. However, in Android Studio, I am able to sync the gradle file from within the Android Studio but for Xcode, I need a separate Terminal window running to install pods using cocoapods every time I add, edit or remove a pod. Is there another way with which I can manage everything from within the Xcode?

CocoaPods is a third-party solution to iOS dependency management that enjoys less first-party support than Gradle does for Android. As such, it is less integrated with the tooling (IDE).
As far as I know, Xcode does not include an integrated Terminal like Android Studio does, so command-line CocoaPods operations will indeed need to be executed outside Xcode.
Depending on your needs, you may find the CocoaPods Mac app of interest, though it must also be run outside Xcode.

Related

Is it possible to use Flutter plugin in Native OS(iOS, Android)?

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

PHONEGAP - Error while starting emulated android on phonegap; I use the SDK installed by android Studio

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

Porting existing Cordova app into Android Studio

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/

Can Android SDK tools be installed in Scala IDE?

I have Scala IDE installed and I want to add the Android SDK Tools to it. I'd rather not download the ADT Bundle and have 2 different copies of Eclipse on my system.
Can the SDK Tools be safely installed into Scala IDE, and how? Also will there be any further dependencies to install, or does Scala IDE contain everything needed for the SDK? I'm rather new to Eclipse and Android and I don't want to risk messing something up.
Why don't you just try ? :)
Both Scala IDE and the Android SDK are available as plugins for Eclipse (Scala IDE, Android SDK). And there is an extra plugin useful to simplify the configuration of a Scala + Android project (AndroidProguardScala). All the needed dependencies should get pulled automatically.
Finally, there is a short tutorial to tweak the example Android app for Scala. I didn't test it with the latest versions of everything, but it used to work very well.
On a side note, I would advise you to setup different Eclipse for different purposes. It is usually an better idea than trying to cram all the features you may need in one Eclipse installation.

Eclipse setup for Android and Blackberry

Does anybody have a single Eclipse installation for both Blackberry and Android development?
I have the BB Plugin working fine. I am wondering if I can just follow the Android installation steps without it affecting the BB setup.
I dont want to experiment, so I am asking.
I have seen this thread - Android and Blackberry project in eclipse
Yes, I have a working Eclipse installation for both BlackBerry and Android development.
You must install the 'BlackBerry Plugin for Eclipse' from RIM first (which you've already done). Essentially it's the Eclipse IDE (currently Helios 3.6) with the BlackBerry plugin hardcoded into it.
Apart from the BlackBerry stuff, there are no other differences between the vanilla Helios 3.6 and the RIM 'BlackBerry Plugin for Eclipse', this means you can install the Android development tools into your IDE with no problems.
Works like a charm if you follow the guide here: http://developer.android.com/sdk/installing.html
How to use single eclipse for Android and Blackberry ..?
Ans:
There was no any single setup available which work for both android and blackberry.
but in a simple thing the eclipse version 3.6 is work for blackberry plugin and as well as work with Android ADT-12 plugin so first of all you need to configure your blackberry and than you have to install any ADT plugins (i.e. the latest adt version is ADT-12) and than config the android sdk.
now your blackberry and android are working.
when you want to use blackberry than you open perspective option and select blackberry application development perspective.
and same when you want to use android than you may select java perspective...
try it..

Categories

Resources