How to find the cloud native version of your app on iOS and Android, without going through the Android SDK
Google’s latest Android SDK update adds a new platform-specific option to the About section, letting developers specify which platform they want their apps to run on.
This is good news for those of us who have to deal with Google’s Android SDK issues that we can’t easily find on iOS or Android, such as bugs in the native APIs.
The new feature can be found under the About platform options section, and it should work for most developers, as long as you don’t mess with the default version of the platform.
The platform-wide option will take the form of a single option, so for example, if you wanted to run your app across Android and iOS, you’d choose the “Platform X” option, which means you’d be running your app for iOS, Android, Chrome, Firefox, or Safari.
This makes it easier to set up a developer experience for your app.
Google says the platform-based option is only available in “selected developer” and “selected release” releases of the Android Runtime, and that it will only be available for selected developer releases.
We’ve included a full breakdown of the platforms here.
While you can’t use the platform option directly in the About window, you can still install the Google Play Services and SDK dependencies through a command line option.
Here’s what you need to do to install Google Play services and the Google APIs dependencies: Download the Android Studio IDE for Android or download the Android Developer Tools for Android for Mac.
In the IDE, open Android Studio.
Type “tools/AndroidStudio” and hit Enter to open the Android IDE.
Add a new file named platform-name-with-platform-name and select “Run as…” as the file type.
In Android Studio, click on the File menu, choose “Add” from the menu bar, and then click “Add”.
Add the platform name to the list.
Double-click the file to open it in the Android editor.
You can then add the platform dependencies to the Android project.
Open the Android Project and navigate to the project root.
Select “Platform-specific dependencies” from Tools -> Add -> Dependencies.
Add the following line to the bottom of the file: platform-with=”platform-with:X” Add the next line to add the dependencies to your project: platform.with.platform-depends=”X” You can now build your app using Android Studio and the dependencies should work out of the box.
If you use the Google Cloud Platform Platform and the platform with=”platform” option is selected, you’ll need to install the SDK manually, and you can do that in the “Build SDK” section.