Home › Forums › Ask the Flomies › Android Meteor 1255U-J1
Tagged: android, Connection issue, FloBLE Plus, Flomio SDK, Meteor
-
AuthorPosts
-
October 26, 2016 at 8:47 am #57080
Hi Flomio Team,
I have some issues with getting this thing going on Android.
Tried to follow the instructions and adding the lib.aar file and the adjusting the build.gradle file, but I can’t get it to work.I am getting this error:
* What went wrong:
A problem occurred evaluating root project ‘android’.
> Could not find method compile() for arguments [{name=libsdkclasses,
ext=aar}] on
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@5b6d3d58.Can you please help me.
Thanks in advance.
Cheers
NicoOctober 26, 2016 at 9:25 am #57081some more info:
When removing the created ReadersActivity.java file, I am able to build the app on my Android device. But now it tells me thisUncaught ReferenceError: flomioPlugin is not defined
Did I put sth in the wrong folder?
It is currently under
.meteor/local/cordova-build/platforms/android/libs/libssdkclasses.aarThe Android version I am testing it with is 5.0 and it is a Acer One Tablet.
I tried the TestApp.apk and that works just fine. With iOS it works fine too. So it is probably somewhere on the way I am doing sth. wrong.
If you need more information just contact me.
- This reply was modified 8 years, 1 month ago by Nicolas.
October 26, 2016 at 11:21 am #57085One more thing I should probably be mentioning, I am using cordova with Meteor.
October 27, 2016 at 7:35 am #57093Another update on this:
I found out that for Android the global Value is:
floPlugin. instead of flomioPlugin.Using this I can at lease access the functions, but then I get the following Error in the terminal:
android:http://localhost:12448/plugins/com.flomio.sdk/www/FlomioPlugin.js:34) ERROR: FlomioPlugin.selectDeviceType: Invalid action
I keep you posted. Please have a look too and let me know whats going wrong here.
Thank you.- This reply was modified 8 years, 1 month ago by Nicolas.
November 3, 2016 at 2:14 am #57154Hey Nico, sorry for the delay in answering here. Still having issues with this? We are working on a refactoring of the Flomio SDK on Android and wanted to take the time to wrap the Cordova plugin properly to address your needs. Can you post your current blocking issue on GitHub here??
thanks,
RichardDecember 14, 2016 at 11:25 am #57737Hey Richard,
As you asked me to do I added the issue on GitHub, but no response to that one yet.
https://github.com/flomio/flomio_cordova_plugin/issues/25What do you think, when can one of your guys can have a look at it?
Thx
NicoDecember 14, 2016 at 2:00 pm #57738Hey Nico, sorry I missed the GitHub post… I just replied and assigned to one of our engineers to look at. Follow thie thread on GitHub moving forward.
best,
RichardDecember 15, 2016 at 1:39 am #57742Thank you Richard.
Cheers
Nico -
AuthorPosts
You must be logged in to reply to this topic.