Comments (4)
externalNativeBuild {
cmake {
cppFlags "-std=c++11 -frtti -lz"
abiFilters 'armeabi-v7a', 'x86'
// arguments '-DANDROID_STL=gnustl_shared'
}
}
将 arguments '-DANDROID_STL=gnustl_shared' 注释掉。
from smartcamera.
ERROR: Expected NDK STL shared object file at D:\MySoft\Android\sdk\ndk-bundle\sources\cxx-stl\gnu-libstdc++\4.9\libs\x86\libgnustl_shared.so
NDK r19 将 arguments '-DANDROID_STL=gnustl_shared' 注释掉后。
报这个错
'ext/atomicity.h' file not found
from smartcamera.
使用下面这句可以运行:
arguments '-DANDROID_STL=gnustl_static'
参考: https://blog.csdn.net/luozhuang/article/details/36418229
虽然运行后效果有点奇怪, 没有扫描动作, 没有效果. 是用的两部魅族测试机.
from smartcamera.
明白了, 因为这个Activity要全屏展示扫描窗口, 所以在 onCreate 里加了下面使全屏的代码, 才导致了奇怪的问题.
// 去除状态栏getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);
而且哪怕修改为使用 xml 文件里改 theme 的方式设置全屏也会导致同样的问题.
之后我用延时的方式设置就正常了.
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
// 去除状态栏
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
}, 1000);
from smartcamera.
Related Issues (20)
- 请问这个适配一体机的时候,出现了视野小于默认相机的情况,参数在那里设置下可以达到哪个效果呢?
- 这个库是不是太大了点 HOT 2
- 关于视频流后台处理的问题 HOT 1
- 能不能改为横向模式呢 HOT 1
- 定制识别物品 HOT 2
- 占用内存35m,仅仅是依赖后,打包就多出35m HOT 4
- AndroidQ打开相机出现异常 HOT 3
- 在AR眼镜端,摄像头拍到的东西都纵向拉伸了 HOT 1
- 为什么我引入你的库总是失败啊 HOT 3
- Camera is not ready. Call start() before takePicture(). HOT 2
- 构建源代码的时候报错 HOT 3
- 部分机型上出现问题, onResume调用了start() startScan HOT 1
- 可不可以重新build一个release的2.0.0的aar,现在的三十多MB,太大了,之前的也才三点几兆 HOT 4
- sending message to a Handler on a dead thread
- camera识别成功的时候是否可以返回边框坐标 HOT 3
- 有没有办法让识别的图片尽可能的完美不留白边 HOT 5
- FAILED: ../../../../build/intermediates/cmake/debug/obj/x86_64/libsmart_camera.so HOT 3
- 可以竖屏扫描吗
- 请问有办法识别圆形物体么
- 请告知下卡片备忘录的数据存储位置
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 smartcamera.