I am trying to build a Native App for android with C++, but the only option I see is Basic Application (Android, Gradle) which creates a Java project.
I am following this tutorial, https://www.youtube.com/watch?v=3SJmf1HsVQU
The Native App that appears in the tutorial is not available in my Visual Studio 2022 Community,
Is this not available in community edition, or did I miss installing some component?
My VS Setup
The Native App was provided in Visual Studio before version 17.4.
And it has been removed since
release note:
Android SDK update Ant scripts have been removed, so users will no
longer see Ant-based templates in the New Project dialog. For help
migrating from Ant templates to Gradle templates, please see:
Migrating Builds From Apache Ant (gradle.org)
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
I'm trying to create a Visual Studio 2019 solution of my existing C++ project (.so) so I can have access to native debugging on Android.
I already installed the Cross-platform mobile development tools and the sample projects seem to work fine.
So my conclusion is that Visual Studio 2019 indeed supports what I'm trying to achieve.
However, the problem happens when I try to use CMake to create a Visual Studio solution for Android. I get this error:
CMAKE_SYSTEM_NAME is 'Android' but 'NVIDIA Nsight Tegra Visual Edition' is not installed.
And it's true, I don't have "NVIDIA Nsight Tegra" installed, but the sample projects from VS worked without it so I'm assuming that the NVIDIA tool is not really needed.
Searching the web I came across this old post which said we have to use a custom CMake version, but again, the sample projects are not using any custom CMake (i think).
Any tips on how I should move from here?
How do I get Visual Studio Online to do a Build/Continious Intergration-Delivery for Cordova?
The only examples below are for installing to your own TFS installation. The CI build templates for VSO is Java/Android or C++/iOS not Cordova/PhoneGap.
https://www.visualstudio.com/vso/
https://learn.microsoft.com/en-us/vsts/build-release/archive/apps/mobile/cordova-build?view=vsts
https://learn.microsoft.com/en-us/vsts/build-release/archive/apps/mobile/cordova-command?view=vsts
As you can see from the Team Foundation Server guide, they don't seem to support Cordova apps.
Why don't your try Visual Studio Community 2017 instead? This includes the Tools for Apache Cordova and it works perfectly fine.
Android Studio was announced in May 2013 and maintained by Android technology team since then. It is based on the IntelliJ IDEA Community Edition, added features that are designed specifically for Android development and cooperated with JetBrains, creators of one of the most advanced Java IDEs available today. As the official Android IDE, Android Studio gives us access to a powerful and comprehensive suite of tools to evolve our app across Android platforms, whether it's on the phone, wrist, car or TV.
As Android Studio arises, Eclipse, the powerful open-sourced IDE, worked with Android Developer Tools (ADT) to create gorgeous Android apps, begins to fall. Now that when Android M Preview was released, Eclipse couldn't work with the latest Android SDK whose structure was changed but Eclipse couldn't adapt it.
It is said that development and official support for the ADT in Eclipse will be ended at the end of the year, just to make way for focus on all of their efforts on making Android Studio better and faster. But Eclipse isn't abandoned completely for Android Development. Android tools inside it continues to live. They created a new project called Andmore - Eclipse Android Tooling.
So, what is Andmore? Now that ADT in Eclipse is not supported any more, they create this Eclipse Android Tooling for what? After Eclipse don't work for Android development at all, developers would switch to Android Studio, the official IDE, I think, will someone prefer Andmore in Eclipse? If so, what are advantages of Andmore in Eclipse which force them to choose it?
Any tips will be appreciated. Thanks in advance.
The purpose of Andmore is to provide Android Eclipse tooling without having to go through multiple steps.
The technology development involves integrating and refactoring the Google ADT plugins as necessary to work with the project. Similarly, the former MOTODEV plugins have components that can be integrated into the project.
Andmore includes:
JDT for Android Java applications.
CDT for C/C++ shared libraries.
Gradle tooling (details TBD)
Maven Build support via the M2E-Android Eclipse Plugin.
Ant support via the built in Eclipse support for ANT.
A fork of Google's ADT (Android Development Tools) plugins for
Eclipse.These are maintained separately from Google's code line at AOSP, which will not be updated with any regularity.
The former MOTODEV Studio Plugins (now part of the Android Open
Source Project) upgraded to work with ADT.
A p2 repository and product build using tycho.
Mylyn Reviews for Gerrit Review integration.
EGit for source code management.
GitHub Plugin from EGit for better collaboration with GitHub
projects.
In addition to components, Andmore will produce an EPP package.
The source code for Andmore is maintained on Github. To contribute, please make sure you have a signed CLA with the Eclipse Foundation on file, and fork the repository. Pull requests and will be reviewed by an existing committer before being merged.
Source repository can be found at https://github.com/eclipse/andmore/
I am attempting to create an Android app using the Visual Studio 2015 RC with Apache Cordova (a multi-platform hybrid app) and for some reason, when I go to:
TOOLS -> ANDROID -> PUBLISH ANDROID APP...
I get a quick thinking/circling mouse pointer then nothing.
Useful Information:
-The installation went fine and I can use the Ripple emulator fine.
-I did the same steps on a machine with Comodo which allowed me to see what Visual Studio was attempting to access and it was definitely reaching out to the Java tools on the computer (I assume to build the apk).
Other than that, I have no idea! :) Thank you.
Thanks for using Visual Studio tools for Apache Cordova.
I presume you are using the following menu, which is added to Visual Studio by the Xamarin Tools and can be used only with Xamarin and not with Tools for Apache Cordova.
To publish an hybrid android app to Google play store, using Tools for Apache Cordova, you will have to follow manual steps which are provided here
I agree that showing this menu for tools for Apache Cordova is confusing and leading users to believe this is a supported scenario. I will take this observation/feedback with the product team and let them know.
Once again, thanks for using our tools.