-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failing (Unknown property ANDROID_EXIFINTERFACES_VERSION
)
#46
Comments
ANDROID_EXIFINTERFACES_VERSION
)
@keyz182, maybe you could have an idea with that problem? |
@ddoria921 can you try modifying your config.xml to
It should be setting a default, bit maybe it's being missed? Typed that on mobile while on the move btw, so be sure to check I got the syntax right. |
Nope that didn't fix it. |
Ok, I'll have a look in the morning to see if I can find anything.
Silly question, but have to ask, did you try removing and readding the
plugin?
…On Tue, 12 Jun 2018, 20:58 Darin Doria, ***@***.***> wrote:
Nope that didn't fix it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAqUoJVzmJuX87SwN07I101git8T80kMks5t8B1dgaJpZM4UkxQu>
.
|
The build is failing for me on our build server. Every time I run a build it does a fresh install of the android platform and all the plugins. When I try to reproduce it locally on my machine I don't get the error. It installs the plugin and builds fine with the proper I've tried several different things on my local machine (where all the development happens) to reproduce the issue like:
In the end it's worked every time on my computer. But still nothing on the build server or my co-worker's machine. I removed the plugin and had to revert to this commit to get it working. One thing that would help in the meantime is if this plugin had tagged releases that I could point to so I don't have to use the commit hash. EDIT: fixing grammar |
yeah strange... I tried it on my machine too right now... and don't get any errors... everything is working fine. Could it be a problem with the gradle version maybe? I tried it on gradle 4.8 on a mac with the jdk 1.8... I will search around a bit... maybe I find a clue |
I've not been able to recreate or figure out anything potentially wrong I'm afraid. It looks like other plugins use this same method. I don't think it's an issue with gradle, as the variable should be substituted in before gradle is run (as far as I can tell). @JoschkaSchulz would you be averse to uploading your plugin to NPM? We could pin to versions then that you upload at least. |
I also don't think it's an issue with gradle because the variable should be swapped in before it gets to gradle. Also, you don't necessarily have to upload to NPM. You can tag and generate release through GitHub that would allow you to install the plugin at a specific version. For example to install v1.0 would look like this: |
i got same problem. How can i get old version ? |
I would like to get more information for that... it's really hard to reproduce this error so I can't help. You can just get an older version by removing that code... I have to do an upload to npm of versions that this makes not so much problems in the future again... but for now there is no version tagging |
Could you tell me know required package to install current version of this plugin? And I force to update project.properties |
@huytran0605 I believe anything after or including 25.1.0 will work, but I've not tested. The exifinterface was added in 25.1.0, so won't work on anything earlier. |
@keyz182 Unfortunately, I tested and It cannot work :( |
@JoschkaSchulz Could you please upload version tagging? Because i use CI to build app so it difficult to install the plugin by manual? |
Hey, I added version tagging here on github and also uploaded to https://www.npmjs.com/package/cordova-plugin-simple-image-resizer ... sadly the name was already taken that's the reason why I add the (stupid word) simple in it |
Do you have any idea why in file platforms/android/project.properties used I think in my config it can't read |
I spent some time looking at this today. Another option is to supply the variable at build time, it will then be swaped inside the build.gradle file, and complete the build I created a PR that hardcodes the value to 27.+ #58 |
I used |
My builds started failing after the latest changes to the
plugin.xml
file. I'm getting this errorAfter looking at where the build is failing it pointed me to my build.gradle file. It's failing here
It looks like the variable
ANDROID_EXIFINTERFACES_VERSION
isn't getting properly replaced in the build.gradle file. Any idea why this is happening?The text was updated successfully, but these errors were encountered: