acodexm / Panorama360

Projekt przejściowy do projektu Magisterskiego. Android, LibGDX, OpenCV, Camera, SurfaceView, stitching, panorama, sphere, gyroscope
71 stars 16 forks source link

hello #2

Closed agjarso closed 5 years ago

agjarso commented 6 years ago

hello sir,

i tried to run your code and encountered this problem, do you mind telling me what is the issue? Thank you.

untitled
acodexm commented 6 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.

agjarso commented 6 years ago

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.

acodexm commented 6 years ago

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.

agjarso commented 6 years ago

Lol okay Thank you.

agjarso commented 6 years ago
2

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

1
acodexm commented 6 years ago

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).

agjarso commented 6 years ago

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 :/

agjarso commented 6 years ago

Hello sir, do you have any idea or solution of what the problem might be? Thank you. Best regards.

acodexm commented 6 years ago

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

agjarso commented 6 years ago

Hello,

long time since i checked in, how is the progress going so far?