Set under Tools - Configure Paths. android.jar is a referenced library. It is only used during compilation.
It doesn't affect the runtime behavior and it will not cause your app not to run on older versions.
Use the latest version available to avoid compilation errors.
No. If it runs OK it doesn't need upgrading. You would only need that if you used some feature that was introduced with SDK 31. You can regard the SDK target as determining the runtime behaviour of your app (permissions required, file access allowed etc.) while the android jar it was compiled with merely needs to support the APIs that you actually use as Android is highly backward compatible.
After the error with android.jar from android studio, i change the path to other android-sdk. the compiler running well but in the end new error message:
Signing package file (debug key). Error
Unsupported option: --v4-signing-enabled. See --help for supported options.
How in the hell i correct this?
After the error with android.jar from android studio, i change the path to other android-sdk. the compiler running well but in the end new error message:
Signing package file (debug key). Error
Unsupported option: --v4-signing-enabled. See --help for supported options.
How in the hell i correct this?