Red-Folder / bgs-core

Core code for the Cordova Background Service
Other
236 stars 104 forks source link

Installing the plugin #72

Closed FabienRoussel closed 7 years ago

FabienRoussel commented 7 years ago

I am developing a cross platform application and I have some problem with updating this plugin Cordova-Plugin-BackgroundService

I saw you said there is another plugin more recent : https:// github.com/Red-Folder/bgs-core . But when I install it I have some problem capture

Do you have any idea how to solve this ? Do I have to update something else ?

Is there any alternative ?

thanks by advance !

Red-Folder commented 7 years ago

Not seen the error before. But if you do a search on "unsupportedclassversionerror 52.0" you get plenty of results - such as http://stackoverflow.com/questions/22489398/unsupported-major-minor-version-52-0

It looks to be a mismatch in your compiled code and your runtime.

I don't believe this has anything to do with the plugin itself.

Red-Folder commented 7 years ago

In addition, picking up on your "I am developing a cross platform application" comment;

Please note that the plugin is Android only

FabienRoussel commented 7 years ago

Thank you for your responde. It was just to introduce the subject. I will search in that direction, thank you for your time :)

FabienRoussel commented 7 years ago

image Sorry to bother you again but I have another error. I have search for similar problem but they are all related with something called maven and I have no idea what it is ...

Red-Folder commented 7 years ago

Maven is a build tool -> https://maven.apache.org/

Basically think of it as something you provide instructions on how to build the Android app, and it does the job.

To equate to house building;

Gradle (also mention above) is also a build tool -> https://gradle.org/

Try having a look at this to see if it helps: https://developer.android.com/studio/releases/gradle-plugin.html

Red-Folder commented 7 years ago

I'd also recommend trying to build the "original" version of the application as it was provided to you (assuming you haven't)

It looks like you are getting a lot build problems which will likely be related to your development environment - not Android, Cordova or the plugin.

Basically try to narrow down the variables. Make sure that you can build the getting started for Android (https://developer.android.com/about/start.html) & Cordova (https://cordova.apache.org/docs/en/2.5.0/guide/getting-started/android/)

FabienRoussel commented 7 years ago

Thanks for all your help :)