Hope that the latest API is enough to compile and generate the APK. The generated APK will work on devices running current API version 25 and all previous API versions depending on the entry contained in my B4A Project's Manifest for eg android:minSdkVersion="14" android:targetSdkVersion="21"
Yes. This was my doubt and the one that required a clarification.
Be careful what you do here. I checked this out to see what would happen. If your manifest reads android:minSdkVersion="14" android:targetSdkVersion="21" and the only API you have is API 25, then your app will not compile, because API 21 is not found. If your targetSdkversion is always API 25 perhaps you are OK.
After removing all previous API versions from my Android SDK, its only today morning, I could try to compile one of my existing projects.
I was able to generate the APK without any errors. I wonder why it is not working for you and throwing errors. I am interested in knowing the reason why you are not able to compile the project after removing old Android API's from your Android SDK.
Here is the Manifest entry in my project regarding the Android version. As of now, I have only the API 25 installed in my Android SDK
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
I understand that the Virtual devices that I had no longer works. I believe that the reason is because the Virtual devices where created to use API 21 and below.
Obviously, the Emulator can be created only for those API's installed in the Android SDK.
Correct me if I am wrong somewhere.
The size of the total Android SDK growing above 50 GB, and keeping all these on the hard drive, unless it is really necessary, doesn't look like a good idea. Hope these findings are going to be useful for other friends of this Forum.
Comments/suggestions/findings of other members are also welcome.
Regards
Anser