java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)

Fix res/values/styles.xml and Manifest.xml like so:This solution is tested and don’t forget to clean and build : 1.Manifest.xml change the theme of HomeActivity to : <activity android:name=”.ui.home.HomeActivity” android:theme=”@style/Base.Theme.AppCompat.Light” /> <activity android:name=”.BaseActivity”></activity> 2. res/values/styles.xml Make all your themes preceeded with Base :styles.xml will be like this : <resources> <!– Base application theme. –> <!–<style name=”AppTheme” parent=”Theme.AppCompat.Light.DarkActionBar”>–> … Read more

Android emulator not able to access the internet

👉 1st try “Cold booting” the emulator as suggested here. 👉 If cold booting doesn’t work, try changing the DNS address of your network to 8.8.8.8 (Google’s DNS) or another of your preference: MacOSX: Open “System Preferences” Click on “Network” Select the network which your computer is connected and click on “Advanced” Select “DNS”, Select … Read more

Android studio 3.0: Unable to resolve dependency for :app@dexOptions/compileClasspath’: Could not resolve project :animators

With Android Studio 2.3(AS) the project works fine and i can able to run the App. After updating the AS to Android Studio 3.0. i too got the error as below for libraries and build types. Unable to resolve dependency for ‘:app@dexOptions/compileClasspath’: Could not resolve project : library_Name. Unable to resolve dependency for ‘:app@release/compileClasspath’: Could … Read more