不知道缓存还是啥原因 我自己手动删除了
\unpackage\dist\dev\mp-weixin 下的目录就好了
=================以下为之前的报错信息=============
thirdScriptError
sdk uncaught third Error
Unexpected token export
SyntaxError: Unexpected token export
是没有装什么SDK吗 ? 下面是我的配置
虽然这个不影响 但是很别扭 不知道APP下会不会报错 ?
代码如下
调用了API如下
微信开发者工具版本:V1.02.1808101
/* 模块配置 */
"distribute" : {
/* 应用发布信息 */
"android" : {
/* android打包配置 */
"permissions" : [
"<uses-permission android:name=\"android.permission.ACCESS_CHECKIN_PROPERTIES\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.GET_TASKS\"/>",
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.READ_SMS\"/>",
"<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
"<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
"<uses-permission android:name=\"android.permission.USE_FINGERPRINT\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
"<uses-permission android:name=\"android.permission.RECEIVE_USER_PRESENT\"/>"
]
},
"ios" : {},
/* ios打包配置 */
"sdkConfigs" : {
"maps" : {},
"oauth" : {
"weixin" : {
"appid" : "wx8002fb577f84a11f",
"appsecret" : "ebd5ab760ff2968f763b293c09f24853"
}
},
"payment" : {},
"share" : {
"weixin" : {
"appid" : "wx8002fb577f84a11f",
"appsecret" : "ebd5ab760ff2968f763b293c09f24853"
}
},
"push" : {
"igexin" : {
"appid" : "mqDEatiG4n5TeLyLKqxfL9",
"appkey" : "7Y1xESmLGC6kWnWQr93l15",
"appsecret" : "1PVUizGjWV9k3khoYYrms7"
}
}
},
"icons" : {
"ios" : {
"appstore" : "C:/Users/lenovo/Desktop/LOGO/1024.png",
"iphone" : {
"app@2x" : "C:/Users/lenovo/Desktop/LOGO/app/120.png",
"app@3x" : "C:/Users/lenovo/Desktop/LOGO/app/180.png",
"spotlight@2x" : "C:/Users/lenovo/Desktop/LOGO/app/80.png",
"spotlight@3x" : "C:/Users/lenovo/Desktop/LOGO/app/120.png",
"settings@2x" : "C:/Users/lenovo/Desktop/LOGO/app/58.png",
"settings@3x" : "C:/Users/lenovo/Desktop/LOGO/app/87.png",
"notification@2x" : "C:/Users/lenovo/Desktop/LOGO/app/40.png",
"notification@3x" : "C:/Users/lenovo/Desktop/LOGO/app/60.png"
}
},
"android" : {
"mdpi" : "C:/Users/lenovo/Desktop/LOGO/app/48.png",
"ldpi" : "C:/Users/lenovo/Desktop/LOGO/app/48.png",
"hdpi" : "C:/Users/lenovo/Desktop/LOGO/app/72.png",
"xhdpi" : "C:/Users/lenovo/Desktop/LOGO/app/96.png",
"xxhdpi" : "C:/Users/lenovo/Desktop/LOGO/app/144.png"
}
}
},