Android Question things periferial manager error

kalarius

Active Member
Licensed User
Longtime User
i have copy the example of the led that on and off with the button


this is a photo of my configuration
at line 29 stop with error
i have update to jdk 1.8.172
api 27
I have add the line to manifest
when i down load the example to raspberry show me the error
at line pm.Initialize

things lib version 1.01
core vesrsion 8.0

on raspberry os version 8.1.0 api level 27

please advice me
Kalarakis
 

kalarius

Active Member
Licensed User
Longtime User
here is my code (the exaple of the led)
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
with or without this
#AdditionalJar: androidthings, ReferenceOnly

I get the same error message
 
Upvote 0

udg

Expert
Licensed User
Longtime User
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
I download the thing version and now shows 1.10
I download the android-thing to new version and now it is 8.1.0 api level 27

BUT the proble still exist
 
Upvote 0

kalarius

Active Member
Licensed User
Longtime User
Problem Solved

I had forgot to add the
AddPermission(com.google.android.things.permission.USE_PERIPHERAL_IO)
AddApplicationText(<uses-library android:name="com.google.android.things"/>)

at the manifest editor

( the update to raspberry ver 8.1.0 and thing lib to ver 1.1 also needed)

thank
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…