Closed agjarso closed 5 years ago
Please double check if you have ButterKnife setup correctly (Gradle and onCreate). This error is caused by uninitialized "rightBtn" which should be injected by @BindView(R.id.right_btn) otherwise NullPointerExceprion will be thrown.
which gradle? the project one or the module one? do i need to add this in build.gradle - android?
compile 'com.jakewharton:butterknife:8.8.1'
currently the the set up i have is the same as you have it here.
No need to add anything to android module gradle. Add your dependencies only on main gradle file for all modules if needed. Pull the latest commit, ensure that you are compiling on gradle-2.14.1-all.zip, if butterknife still doesn't work than try google the problem. This project is indeed hard to setup.
Lol okay Thank you.
Update: app is running quite well despite some of the functions not working like taking a pic.
anyway one final question. gradle sync works perfectly fine but when cleaning and rebuilding some errors relating to NDK pop up, i have searched on google and nothing of substance comes up. how is your Application.mk looking like?
attached: gradle working well, after building errors pop up
to get rid of those errors (warnings) please download older version of NDK like ndk-bundle-r15 because on newest version some things are now deprecated. Please tell me more about not working taking picture. I'm curious about the errors or anything that is related to your issue.
My Application.mk: APP_STL := gnustl_static APP_CPPFLAGS := -frtti -fexceptions APP_ABI := all APP_PLATFORM := android-16
also if you have problems with prepareDebugUnitTestDependencies try something else instead of Robolectric (or get rid of it because there are no good tests written at all) Also make sure to run it on gradle gradle-2.14.1-all.zip (newer versions are not compatible with LibGDX).
i'll try those suggested solutions later today, thank you.
the shutter simply doesn't work, on manual it displays "can't take picture here" even when i am not moving around. In Auto it simply does nothing but display the record button. Also the absolute save path storage/emulated/0...there is nothing :/
Hello sir, do you have any idea or solution of what the problem might be? Thank you. Best regards.
This project is not final, and it wasn't tested on other devices than motoXstyle. If you can build this project than play with it... disable steady move or tweak it (inside AndroidCamera.java), if folders are not created for some reason than do it manually, if you "can't take picture here" than change area size. most of methods and functions are commented so you shouldn't have problems
Hello,
long time since i checked in, how is the progress going so far?
hello sir,
i tried to run your code and encountered this problem, do you mind telling me what is the issue? Thank you.