1

I am facing this issue even though, I am starting a new project. I removed Proguard as suggested here, but no luck so far.

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}

Any help would be great.

Reaz Murshed
  • 23,691
  • 13
  • 78
  • 98
D. Rathore
  • 27
  • 6
  • Please share your logcat. Otherwise, we cannot help. – Reaz Murshed Feb 11 '19 at 05:53
  • are you trying with debug? – karan Feb 11 '19 at 06:20
  • java.lang.NoClassDefFoundError: Failed resolution of: Landroid/arch/lifecycle/LifecycleRegistry; at android.support.v4.app.SupportActivity.(ComponentActivity.java:56) at android.support.v4.app.FragmentActivity.(FragmentActivity.java:68) at android.support.v7.app.AppCompatActivity.(AppCompatActivity.java:62) at com.abracket.aaaaaa.MainActivity.(MainActivity.java:6) at java.lang.Class.newInstance(Native Method) – D. Rathore Feb 11 '19 at 08:10
  • yes, I am trying with debug – D. Rathore Feb 11 '19 at 08:14
  • Did you solve this issue ? I am facing the same problem. please add an answer to this question @D.Rathore – jashgopani Aug 01 '20 at 06:46

0 Answers0