I think I found another solution to this question.
Go to Project > Properties > Java Build Path > tab [Order and Export] > Tick Android Version Checkbox
Then if your workspace does not build automatically…
Properties again > Build Project
More Related Contents:
- Exclude a class from the build in Android Studio
- Set Build path in Eclipse for ndk program
- How can I remove the bar? [duplicate]
- Running Google Maps v2 on the Android emulator
- Is it possible to detect Android app uninstall?
- What is an Intent in Android?
- How to set margin of ImageView using code, not xml
- Multi-line EditText with Done action button
- ListView with OnItemClickListener
- Reading a json file in Android [closed]
- Smooth scrolling in Android
- Programmatically getting the gateway and subnet mask details
- How to change Toolbar Navigation and Overflow Menu icons (appcompat v7)?
- Maintaining session in android ( application stay authenticated on the server side)
- Chaining requests in Retrofit + RxJava
- SQLite returned an error code of 14
- Android Keyboard hides EditText
- Android YouTubePlayer with unauthorized overlay on top of player
- Android – Save images in an specific folder
- How to convert UTC timestamp to device local time in android
- OpenCv with Android studio 1.3+ using new gradle – undefined reference
- android.app.Application cannot be instantiated due to NullPointerException
- package R does not exist
- Gradle warning: variant.getOutputFile() and variant.setOutputFile() are deprecated
- switch back/front camera on fly
- Android service to check internet connectivity?
- How do I show Overflow Menu Items to Action Bar in Android
- Mixing Audio Files
- How to set status bar background as gradient color or a drawable in Android?
- Shared Preferences – max length of a single value