For me, Even after upgrading to appcompat-v7:22.1.0
, in which AppCompatActivty
is added, the problem was not resolved for me, Android Studio was giving same problem
Cannot resolve symbol ‘AppCompatActivity’
Sometimes clearing the android studio caches help.
In android studio I just cleared the caches and restarted with the following option–
File->Invalidate Caches/Restart
Related Posts:
- Cannot resolve symbol ‘AppCompatActivity’
- Cannot resolve symbol ‘AppCompatActivity’
- Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat
- “Field can be converted to a local variable” message appearing when setting Android ActionBar colour
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- How to use navigateUp to close the application
- “unable to locate adb” using Android Studio [duplicate]
- “unable to locate adb” using Android Studio [duplicate]
- Differences between arm64 and aarch64
- Install an apk file from command prompt?
- My users get “net::err_name_not_resolved”
- Solving “adb server version doesn’t match this client” error [duplicate]
- Can’t create handler inside thread that has not called Looper.prepare()
- Can’t create handler inside thread that has not called Looper.prepare()
- This adb server’s $ADB_VENDOR_KEYS is not set
- What are the possible reasons for NFC Service to become dead after some time?
- Simple Android RecyclerView example
- What is ‘Context’ on Android?
- android image button
- What causes signal ‘SIGILL’?
- adb server is out of date. killing
- Change project name on Android Studio
- Execution failed for task ‘:app:processDebugResources’ even with latest build tools
- Set adb vendor keys
- react-native: command not found
- How to use putExtra() and getExtra() for string data
- Android – setOnClickListener vs OnClickListener vs View.OnClickListener
- Is there an equivalent to iOS’s Keychain for user credentials on Android?
- How to: Install Plugin in Android Studio
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- What’s LazyList?
- No Network Security Config specified, using platform default – Android Log
- Why is Android Studio reporting “URI is not registered”?
- getBluetoothService called with no BluetoothManagerCallback
- Getting error “The package appears to be corrupt” while installing apk file
- java.lang.RuntimeException: Unable to instantiate activity ComponentInfo
- Error inflating class fragment
- What is Dalvik and dalvik-cache?
- How to pause / sleep thread or process in Android?
- Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
- com.android.ide.common.process.ProcessException: Failed to execute aapt! What can I do?
- Could not find com.android.tools.build:gradle:3.0.1
- Could not find com.android.tools.build:gradle:3.0.1
- Error message ‘java.net.SocketException: socket failed: EACCES (Permission denied)’
- How to use su command over adb shell?
- Sending an Intent to browser to open specific URL
- Picasso v/s Imageloader v/s Fresco vs Glide vs Coil
- Save bitmap to location
- onActivityResult() not called
- How to resolve the “ADB server didn’t ACK” error?
- Custom Adapter for List View
- findViewByID returns null
- Android Intent Cannot resolve constructor
- Android Studio 1.2.1.1 – Failed to find style ‘textViewStyle’
- Get Value of a Edit Text field
- Android Studio doesn’t see device
- Static way to get ‘Context’ in Android?
- What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?
- Android: adb: Permission Denied
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
- Running Node.Js on Android
- Running Node.Js on Android
- Android Device not recognized by adb
- emulator: incompatible HAX module version 3 requirs minimum version 4
- How do you change text to bold in Android?
- Android ADB doesn’t see device
- admob getting an ad response. ErrorCode: 0 Failed to load ad:0
- Android Studio – Company Domain Name
- Installing ADB on macOS [duplicate]
- Android SDK path not specified
- Failed to connect to camera service
- How to create a file in Android?
- Cannot resolve method getApplicationContext()
- Change Orientation of Bluestack : portrait/landscape mode
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”
- Can I underline text in an Android layout?
- cannot resolve symbol ‘editText’
- This Activity already has an action bar supplied by the window decor
- getResources().getColor() is deprecated
- E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0
- How to disable an Android button?
- notifyDataSetChange not working from custom adapter
- Singleton in Android
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- Android getResources().getDrawable() deprecated API 22
- How to hide popping up Google Play’s unlocked achievement programatically?
- Error during installing HAXM, VT-X not working
- Error: fix the version conflict (google-services plugin)
- User Operation is waiting for “Building Workspace”
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- What is android:ems attribute in Edit Text? [duplicate]
- Android scale animation on view
- adb devices return error: protocol fault (no status)
- How to get text from EditText?
- android.widget.Switch – on/off event listener?
- SDK Location not found in android studio
- Failed to load AppCompat ActionBar with unknown error in android studio
- How can I give access to WordPress site using an Android application ?