V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
csulyb
V2EX  ›  程序员

鸿蒙的 helloworld 第一天就被劝退

  •  
  •   csulyb · 3 天前 · 3451 次点击

    API 9 中, 第一行提示找不到 kit 包

    import {batteryInfo} from '@kit.BasicServicesKit'; import hilog from '@ohos.hilog'; 这是因为 api 版本不对吗?

    10 条回复    2024-10-15 08:09:26 +08:00
    justtokankan
        1
    justtokankan  
       3 天前 via iPhone
    api 都到 12 了,小伙子
    csulyb
        2
    csulyb  
    OP
       3 天前
    @justtokankan 我下载的是最新版的 devEco studio 里面最高就是 API 9 , 你可以用上 12 吗
    justtokankan
        3
    justtokankan  
       3 天前 via iPhone
    @csulyb #2 估计要申请,公司级别的一般已经到 12 了
    nyxsonsleep
        4
    nyxsonsleep  
       3 天前
    @csulyb #2 https://developer.huawei.com/consumer/cn/download/ 5.0.3.900 当前最新版,每月都有更新。
    tabc2tgacd
        5
    tabc2tgacd  
       2 天前
    @justtokankan 这玩意还要申请才给用????
    yuebuzai
        6
    yuebuzai  
       2 天前
    鸿蒙开发还是很有意思的
    最起码文档是中文,而且很全面
    SoyaDokio
        7
    SoyaDokio  
       2 天前
    @nyxsonsleep #4 没想到访问这个域名还必须登录...
    debuggeeker
        8
    debuggeeker  
       2 天前
    下载一个官方的 demo 试试
    knightgao2
        9
    knightgao2  
       2 天前
    还要签保密协议才给看的
    From313
        10
    From313  
       1 天前
    用模拟器还要申请
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2923 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:22 · PVG 22:22 · LAX 07:22 · JFK 10:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.