Comments (7)
Switching to AndroidX helped me:
import androidx.appcompat.app.AppCompatActivity;
from react-native-android-scanner.
@zedtux please have look https://stackoverflow.com/questions/30803405/cannot-resolve-symbol-appcompatactivity-support-v7-libraries-arent-recognizeded. If didn't work, can you share the code? Let me try!
from react-native-android-scanner.
Switching to AndroidX helped me:
import androidx.appcompat.app.AppCompatActivity;
Thanks a lot. that works for me too.
from react-native-android-scanner.
from react-native-android-scanner.
SamiChab
Switching to AndroidX helped me:
import androidx.appcompat.app.AppCompatActivity;
Thank you very much SamiChab . I searched for an answer to this error for 3 hours. Your option helped me
from react-native-android-scanner.
@aseemnishad Didn;t work for me either.
Task :react-native-android-scanner:compileDebugJavaWithJavac FAILED
/home/swagat/reactnativeapp/androidscannerlatest/node_modules/react-native-android-scanner/android/src/main/java/com/reactlibrary/RNReactNativeAndroidScannerModule.java:11: error: cannot find symbol
import android.support.v7.app.ActionBarActivity;
^
symbol: class ActionBarActivity
location: package android.support.v7.app
1 error
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':react-native-android-scanner:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Can you share your code?
from react-native-android-scanner.
Usually, I am getting
Execution failed for task ':react-native-android-scanner:compileDebugJavaWithJavac
when there is not enough free RAM memory. Try rebuilding with closing most of your browser's tabs or even the browser.
from react-native-android-scanner.
Related Issues (10)
- Attribute application@allowBackup is also present at [:scanlibrary] HOT 3
- Crash when using with 64 bit HOT 2
- Error calling RCTEventEmitter.receiverTouches HOT 2
- Build fails HOT 3
- Crash when opening camera HOT 6
- Update The Installation Steps of Android
- Can We Use Properties to Change Orientation of Image?
- Image Orientation issue on Samsung Devices HOT 1
- not able to install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-android-scanner.