一旦我的手表应用程序启动,它就会崩溃并出现以下错误:
2017-08-17 13:59:54.304792-0300 watchOS4 Extension[11500:1617313] -[SPApplication _accessibilityInitialize]: unrecognized selector sent to instance 0x79e5b8f0
2017-08-17 13:59:56.173675-0300 watchOS4 Extension[11500:1617313] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SPApplication _accessibilityInitialize]: unrecognized selector sent to instance 0x79e5b8f0'
*** First throw call stack:
(
0 CoreFoundation 0x015ae80d __exceptionPreprocess + 189
1 libobjc.A.dylib 0x00f22bcf objc_exception_throw + 49
2 CoreFoundation 0x0162f978 -[NSObject(NSObject) doesNotRecognizeSelector:] + 136
3 CoreFoundation 0x015322c4 ___forwarding___ + 1300
4 CoreFoundation 0x01531d8e _CF_forwarding_prep_0 + 14
5 UIAccessibility 0x19a13e2c __54+[UIAccessibilityLoader _accessibilityLoadSubbundles:]_block_invoke.338 + 44
6 libdispatch.dylib …
我正在尝试使用 Fastlane 构建 Android 版本并将其发布到 PlayStore,但是当我运行该通道时,输出为:
Could not find release for version code '6' to update changelog
我的快速文件:
default_platform(:android)
platform :android do
lane :release do
gradle(
task: "bundle",
build_type: "Release",
)
upload_to_play_store(
track: "internal",
skip_upload_changelogs: true,
skip_upload_apk: true,
version_name: "2.0.0",
version_code: 6,
)
end
end
Run Code Online (Sandbox Code Playgroud) 当我尝试循环我的hashmap时出现此错误,我不知道为什么.
对象无法转换为Entry
进入package1:
protected static final Map<String, Integer> distanceLabels = new HashMap<>();
Run Code Online (Sandbox Code Playgroud)
进入包有错误的包:
Map distanceLabels = package1.distanceLabels;
for (Map.Entry<String, Integer> entry : distanceLabels.entrySet()) {
String key = entry.getKey();
Object value = entry.getValue();
// ...
}
Run Code Online (Sandbox Code Playgroud)