I have pulled an Appcelerator project from our developer group and unable to publish or run the project on a local Android device. When trying to publish the below error screen immediately pops up. Android SDK version 4.1.2 not found.
I have checked both in the Appcelerator platform settings and Android Studio config and have the SDK installed.The install SDK screen in Appcelerator Tried uninstalling/reinstalling Appcli and the SDK to no avail.
After a few days of searching all the appecelerator files in my project. I finally found the fix for my problem (for anyone googling this).
There's a hidden file in the root of the Appcli project called
.settings
Inside of settings there's a package called
com.appcelerator.titanium.android.core.prefs
There is an
android/sdk_version=4.1.2
that was causing all my issues. Hope that helps someone.