https://i.stack.imgur.com/LdVqx.png
运行Android Studio 2.3.3,如果我尝试运行程序,我被告知我的aidl丢失了。我已经阅读了其他问题,但我只看到了2015年的帖子。我尝试按照说明降级我的“编译Sdk版本”,然后降级我的“构建工具版本”。但是,除了7.1.1 Nougat之外,我没有给出任何其他编译sdk版本选项。构建工具版本仅提供25.0.3或26.0.1。错误代码如下。我是新手,我知道一点Java,只是想探索一下。但我已经找了一个半小时来解决这个问题。也许我只是愚蠢。任何帮助都将非常感激。
答案 0 :(得分:0)
my-component.jsx:12 Uncaught TypeError: Cannot read property 'click' of undefined
at MyComponent.onClick (http://localhost:8080/renderer.js:19224:15)
at Object.ReactErrorUtils.invokeGuardedCallback (webpack:///./node_modules/react-dom/lib/ReactErrorUtils.js?:69:16)
at executeDispatch (webpack:///./node_modules/react-dom/lib/EventPluginUtils.js?:85:21)
at Object.executeDispatchesInOrder (webpack:///./node_modules/react-dom/lib/EventPluginUtils.js?:108:5)
at executeDispatchesAndRelease (webpack:///./node_modules/react-dom/lib/EventPluginHub.js?:43:22)
at executeDispatchesAndReleaseTopLevel (webpack:///./node_modules/react-dom/lib/EventPluginHub.js?:54:10)
at Array.forEach (native)
at forEachAccumulated (webpack:///./node_modules/react-dom/lib/forEachAccumulated.js?:24:9)
at Object.processEventQueue (webpack:///./node_modules/react-dom/lib/EventPluginHub.js?:254:7)
at runEventQueueInBatch (webpack:///./node_modules/react-dom/lib/ReactEventEmitterMixin.js?:17:18)