W/System.err: ErrorCode = 204 W/System.err: com.alibaba.wireless.security.open.SecException:? W/System.err: ? ? at com.taobao.wireless.security.adapter.JNICLibrary.doCommandNative(Native Method) W/System.err: ? ? at com.alibaba.wireless.security.mainplugin.a.doCommand(Unknown Source:0) W/System.err: ? ? at com.alibaba.wireless.security.open.staticdatastore.a.getAppKeyByIndex(Unknown Source:21) W/System.err: ? ? at com.aliyun.iot.aep.sdk.apiclient.adapter.APIGatewayHttpAdapterImpl.getAppKey(APIGatewayHttpAdapterImpl.java:329) W/System.err: ? ? at com.aliyun.iot.aep.sdk.apiclient.IoTAPIClientImpl.init(IoTAPIClientImpl.java:147) W/System.err: ? ? at com.aliyun.iot.aep.sdk.init.BaseSDKDelegate.a(SourceFile:192) W/System.err: ? ? at com.aliyun.iot.aep.sdk.init.BaseSDKDelegate.init(SourceFile:83) W/System.err: ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager._initSdkDelegates(SourceFile:269) W/System.err: ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager.a(SourceFile:103) W/System.err: ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager.init_underUiThread(SourceFile:62) W/System.err: ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager.init(SourceFile:54) W/System.err: ? ? at com.aliyun.iot.aep.sdk.IoTSmartImpl.init(SourceFile:91) W/System.err: ? ? at com.aliyun.iot.aep.sdk.IoTSmart.init(SourceFile:68) W/System.err: ? ? at com.kawa.iot.ilop.demo.SDKInitHelper.onInit(SDKInitHelper.java:108) W/System.err: ? ? at com.kawa.iot.ilop.demo.SDKInitHelper.init(SDKInitHelper.java:30) W/System.err: ? ? at com.kawa.iot.ilop.demo.DemoApplication.onCreate(DemoApplication.java:45) W/System.err: ? ? at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1190) W/System.err: ? ? at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7047) W/System.err: ? ? at android.app.ActivityThread.access$1800(ActivityThread.java:253) W/System.err: ? ? at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2108) W/System.err: ? ? at android.os.Handler.dispatchMessage(Handler.java:107) W/System.err: ? ? at android.os.Looper.loop(Looper.java:217) W/System.err: ? ? at android.app.ActivityThread.main(ActivityThread.java:7993) W/System.err: ? ? at java.lang.reflect.Method.invoke(Native Method) W/System.err: ? ? at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502) W/System.err: ? ? at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955) I/APIGatewayImpl: set default okhttp event listener on debug situation. D/APIGatewayImpl: xx default host:api.link.aliyun.com isDebugtrue E/AndroidRuntime: FATAL EXCEPTION: main ? ? Process: com.kawa.iot, PID: 14244 ? ? java.lang.RuntimeException: Unable to create application com.kawa.iot.ilop.demo.DemoApplication: com.alibaba.cloudapi.sdk.exception.SdkException: app key or app secret must be initialed ? ? ? ? at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7052) ? ? ? ? at android.app.ActivityThread.access$1800(ActivityThread.java:253) ? ? ? ? at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2108) ? ? ? ? at android.os.Handler.dispatchMessage(Handler.java:107) ? ? ? ? at android.os.Looper.loop(Looper.java:217) ? ? ? ? at android.app.ActivityThread.main(ActivityThread.java:7993) ? ? ? ? at java.lang.reflect.Method.invoke(Native Method) ? ? ? ? at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502) ? ? ? ? at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955) ? ? ?Caused by: com.alibaba.cloudapi.sdk.exception.SdkException: app key or app secret must be initialed ? ? ? ? at com.alibaba.cloudapi.sdk.model.BaseClientInitialParam.check(BaseClientInitialParam.java:20) ? ? ? ? at com.alibaba.cloudapi.sdk.model.HttpClientBuilderParams.check(HttpClientBuilderParams.java:31) ? ? ? ? at com.alibaba.cloudapi.sdk.client.HttpApiClient.init(HttpApiClient.java:64) ? ? ? ? at com.aliyun.iot.aep.sdk.apiclient.adapter.APIGatewayHttpAdapterImpl.<init>(APIGatewayHttpAdapterImpl.java:144) ? ? ? ? at com.aliyun.iot.aep.sdk.apiclient.IoTAPIClientImpl.init(IoTAPIClientImpl.java:151) ? ? ? ? at com.aliyun.iot.aep.sdk.init.BaseSDKDelegate.a(SourceFile:192) ? ? ? ? at com.aliyun.iot.aep.sdk.init.BaseSDKDelegate.init(SourceFile:83) ? ? ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager._initSdkDelegates(SourceFile:269) ? ? ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager.a(SourceFile:103) ? ? ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager.init_underUiThread(SourceFile:62) ? ? ? ? at com.aliyun.iot.aep.sdk.framework.sdk.SDKManager.init(SourceFile:54) ? ? ? ? at com.aliyun.iot.aep.sdk.IoTSmartImpl.init(SourceFile:91) ? ? ? ? at com.aliyun.iot.aep.sdk.IoTSmart.init(SourceFile:68) ? ? ? ? at com.kawa.iot.ilop.demo.SDKInitHelper.onInit(SDKInitHelper.java:108) ? ? ? ? at com.kawa.iot.ilop.demo.SDKInitHelper.init(SDKInitHelper.java:30) ? ? ? ? at com.kawa.iot.ilop.demo.DemoApplication.onCreate(DemoApplication.java:45) ? ? ? ? at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1190) ? ? ? ? at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7047) ? ? ? ? at android.app.ActivityThread.access$1800(ActivityThread.java:253)? ? ? ? ? at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2108)? ? ? ? ? at android.os.Handler.dispatchMessage(Handler.java:107)? ? ? ? ? at android.os.Looper.loop(Looper.java:217)? ? ? ? ? at android.app.ActivityThread.main(ActivityThread.java:7993)? ? ? ? ? at java.lang.reflect.Method.invoke(Native Method)? ? ? ? ? at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)? ? ? ? ? at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)? D/AndroidRuntime: ensureLogging, logHandler triggered true I/Process: killProcess pid=14244 ? ? java.lang.RuntimeException ? ? ? ? at android.os.Process.killProcess(Process.java:1058) ? ? ? ? at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:165) ? ? ? ? at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1073) ? ? ? ? at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068) ? ? ? ? at java.lang.Thread.dispatchUncaughtException(Thread.java:2187) ?
|