Comments (9)
Couple of questions to help debug:
- What MetaWear board are you using?
- What is the firmware revision?
- What is your development environment?
- jdk, ide, etc.
- Can you connect to the board with the MetaWear sample app?
from metawear-sdk-android.
Many thanks for getting back to me. I tried both sample apps the very
simple one included in the Android API as well as the official Sample app
both built from sources and they both work well.
Tried to compare the code line by line and it seems identical. I tried to
embed your sample activity from the library project directly into my app
and it has the same problem. I use the same targetSdk in my app has the
right dependency to library 2.3.0.. Do you have any ideas or hints what I
could try?
Board: MetaWear R
FW: 1.1.0
IDE: Android Studio
Thank you very much.
Best regards,
Petr
On Fri, Jan 8, 2016 at 1:07 PM, Eric Tsai [email protected] wrote:
Couple of questions to help debug:
- What MetaWear board are you using?
- What is the firmware revision?
- What is your development environment?
- jdk, ide, etc.
- Can you connect to the board with the MetaWear sample app?
—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from metawear-sdk-android.
Sorry, I think I know the issue, it is probably a proguard problem, sorry
about posting a false alert..
Thank you very much.
Best regards,
Petr
On Fri, Jan 8, 2016 at 1:51 PM, Petr Nalevka [email protected] wrote:
Many thanks for getting back to me. I tried both sample apps the very
simple one included in the Android API as well as the official Sample app
both built from sources and they both work well.Tried to compare the code line by line and it seems identical. I tried to
embed your sample activity from the library project directly into my app
and it has the same problem. I use the same targetSdk in my app has the
right dependency to library 2.3.0.. Do you have any ideas or hints what I
could try?Board: MetaWear R
FW: 1.1.0
IDE: Android StudioThank you very much.
Best regards,
Petr
On Fri, Jan 8, 2016 at 1:07 PM, Eric Tsai [email protected]
wrote:Couple of questions to help debug:
- What MetaWear board are you using?
- What is the firmware revision?
- What is your development environment?
- jdk, ide, etc.
- Can you connect to the board with the MetaWear sample app?
—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from metawear-sdk-android.
Just a suggestion, maybe you want to add some implicit proguard rules to
your sample project. Many thanks for your help on this..
Thank you very much.
Best regards,
Petr
On Fri, Jan 8, 2016 at 2:01 PM, Petr Nalevka [email protected] wrote:
Sorry, I think I know the issue, it is probably a proguard problem, sorry
about posting a false alert..Thank you very much.
Best regards,
Petr
On Fri, Jan 8, 2016 at 1:51 PM, Petr Nalevka [email protected] wrote:
Many thanks for getting back to me. I tried both sample apps the very
simple one included in the Android API as well as the official Sample app
both built from sources and they both work well.Tried to compare the code line by line and it seems identical. I tried to
embed your sample activity from the library project directly into my app
and it has the same problem. I use the same targetSdk in my app has the
right dependency to library 2.3.0.. Do you have any ideas or hints what I
could try?Board: MetaWear R
FW: 1.1.0
IDE: Android StudioThank you very much.
Best regards,
Petr
On Fri, Jan 8, 2016 at 1:07 PM, Eric Tsai [email protected]
wrote:Couple of questions to help debug:
- What MetaWear board are you using?
- What is the firmware revision?
- What is your development environment?
- jdk, ide, etc.
- Can you connect to the board with the MetaWear sample app?
—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from metawear-sdk-android.
Hi Petr,
I'm having the same issue. How did you fixed that?
Please can you help me to figure out what's the problem?
Thanks
from metawear-sdk-android.
Sorry, we did abandon the idea to use META Wear for our project so I could
not spend more time on this. But I believe this is somehting which needs to
fixed in the Metawear Android API - I expect a simple null check..
Thank you very much.
Best regards,
Petr
On Sun, Jan 31, 2016 at 8:35 PM, Fabio Petrucci [email protected]
wrote:
Hi Petr,
I'm having the same issue. How did you fixed that?
Please can you help me to figure out what's the problem?Thanks
—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from metawear-sdk-android.
Do you have any proguard rules? The library uses some reflection which can be broken from proguard obfuscation.
from metawear-sdk-android.
Sorry I though you are referring to the other issue I posted, for this one I used:
-keep class com.mbientlab.** { *; }
in proguard.cfg
from metawear-sdk-android.
I had to use:
buildTypes {
release {
minifyEnabled false
}
}
to avoid proguard
remove needed class.
trying petrnalevka solution and see what happen.
Thanks.
from metawear-sdk-android.
Related Issues (20)
- serialize() fails with java.io.NotSerializableException: com.mbientlab.metawear.impl.JseMetaWearBoard$4 HOT 4
- Include the .jar in the release HOT 1
- java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Queue.poll()' on a null object reference HOT 2
- Connection via MAC address does not seem to work HOT 2
- UNKNOWN_LOG_ENTRY HOT 2
- Build Issue with SDK Version 3.4.0 HOT 1
- TUTORIAL PROBLEM Cannot Resolve symbol ´seviceBinder´ HOT 1
- RouteComponent conditional streaming HOT 1
- Project import into eclipse fails HOT 4
- ERROR: Failed to resolve: com.mbientlab:metawear:3.8.2 HOT 2
- Unexpected Disconnects not working in Android 12
- Unclear documentation regarding Logging
- How to use the AccelerometerBmi270's step counter and activity monitor? HOT 1
- MetaWearBLEService compilation unit incorrect HOT 1
- gradle support HOT 2
- java.lang.NullPointerException: Attempt to invoke virtual method 'void android.bluetooth.BluetoothGatt.close()' HOT 1
- Multiple steps are taken when configuring StepsDetection and AxisSampling HOT 3
- App crash
- Attempt to read from field 'com.mbientlab.metawear.impl.ResponseHeader com.mbientlab.metawear.impl.Response.header' on a null object reference HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metawear-sdk-android.