-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,新人下载代码跑不通,想请教一下 #2
Comments
Use explicit types instead of "any", "unknown" (arkts-no-any-unknown) Property 'pref' has no initializer and is not definitely assigned in the constructor. 这是其中的一些报错 |
项目内使用到数据库,首选项等能力,预览调试使用模拟器进行,不要使用IDE上的Preview能力; "Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)" 这个问题可以尝试下在模拟器上是否会出现,可以根据具体报错位置,对 “any” 和 “unknow” 类型进行处理,设置为具体的类型。 可参考社区提问: https://developer.huawei.com/consumer/cn/forum/topic/0203140115012854066 |
up这样的错误也太多了吧,改的好复杂啊,我还找到另一个跟up这个一样的项目不过它的"compileSdkVersion": 9, |
|
No description provided.
The text was updated successfully, but these errors were encountered: