airext / image-picker

AIR Native Extension for CameraRoll
MIT License
3 stars 1 forks source link

Flash Builder 4.6 aadt error #1

Open bernd100 opened 9 years ago

bernd100 commented 9 years ago

imagepickererror Getting a build error - best guess is it's because you have 2 seperate strings.xml files in your android project, one in the app folder and the other in the Imagepicker folder. Would be happy to hire you in upwork to resolve this issue so that I can use the ane.

rozd commented 9 years ago

It's strange, because .ANE file doesn't contain strings.xml file. Do you use any other extension in your app?

Also please try the latest binary file, it contains changes that rather not related to your issue, but nonetheless it would be better if you try latest build.

bernd100 commented 9 years ago

the https://github.com/airext/image-picker/tree/master/image-picker-android/app/src/main/res/values folder does, and there's a similar values folder here https://github.com/airext/image-picker/tree/master/image-picker-android/imagepicker/src/main/res/values (not sure if they're mirrors of each other or not). The solution seems to be to remove these folders - not needed. I think they're not visible in the ane because they get compiled.

Also get an error: VerifyError: Error #1014: Class com.github.airext.events::ImagePickerEvent could not be found. Got this before your update, but worked around it by creating a class that the verify routines didn't precheck. Using Flash Builder 4.6.

Btw, thanks for the update!

bernd100 commented 9 years ago

just a suggestion: instead of reinventing the wheel, there's a robust ane done by freshplanet, with a few forks. But the original ane and the forks still have issues..what it needs is someone to fork it into a mature ane that really works...if you took it on, suspect it would enhance your cred, and bring you some extra clients.

I have a programmer on upwork currently working on fixing the remote content bug..i can't use it in my app otherwise, cause it crashes the app

rozd commented 9 years ago

These strings.xml from app and library project are not packaged into result .ANE file, so I suppose that problem somewhere else.

I know about Freshplanet's ANE that you talk about, but as you can see it is not ideally too. The reason why I didn't fork it was its API, I wanted to do it more closer to standard AIR CameraRoll.

Also I created separate issue #2 for problem with ImagePickerEvent.

Thanks!

bernd100 commented 9 years ago

if you have a copy of FB installed, be curious to know if you can duplicate the error, and the cause. I ran into a similar prob with the latest distriqt vibration ane. They got rid of the problem, but their ane then ended up generating a whole different error. They didn't tell me what changes they made tho. Found a few threads in adobe forums about the issue, and suggested cures.