How to send data from Raspberry pi to Google Cloud IoT Core, using Android Studio?
问题 I'm doing Android Things project. I want to publish a String message to Google Cloud IoT Core, but there are errors shown. I'm using Raspberry Pi 3 with Android Things OS and and programming it using Android Studio. Errors screenshot: This is the whole code: AndroidManifest.xml: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cacaosd.com.sample1"> <!-- PAHO Permissions --> <uses-permission android:name="android.permission