V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
csulyb
V2EX  ›  程序员

鸿蒙的 helloworld 第一天就被劝退

  •  
  •   csulyb · Oct 13, 2024 · 5218 views
    This topic created in 565 days ago, the information mentioned may be changed or developed.

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

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

    11 replies    2024-10-19 19:28:39 +08:00
    justtokankan
        1
    justtokankan  
       Oct 13, 2024 via iPhone
    api 都到 12 了,小伙子
    csulyb
        2
    csulyb  
    OP
       Oct 13, 2024
    @justtokankan 我下载的是最新版的 devEco studio 里面最高就是 API 9 , 你可以用上 12 吗
    justtokankan
        3
    justtokankan  
       Oct 13, 2024 via iPhone
    @csulyb #2 估计要申请,公司级别的一般已经到 12 了
    nyxsonsleep
        4
    nyxsonsleep  
       Oct 13, 2024
    @csulyb #2 https://developer.huawei.com/consumer/cn/download/ 5.0.3.900 当前最新版,每月都有更新。
    tabc2tgacd
        5
    tabc2tgacd  
       Oct 14, 2024
    @justtokankan 这玩意还要申请才给用????
    yuebuzai
        6
    yuebuzai  
       Oct 14, 2024
    鸿蒙开发还是很有意思的
    最起码文档是中文,而且很全面
    SoyaDokio
        7
    SoyaDokio  
       Oct 14, 2024
    @nyxsonsleep #4 没想到访问这个域名还必须登录...
    debuggeeker
        8
    debuggeeker  
       Oct 14, 2024
    下载一个官方的 demo 试试
    knightgao2
        9
    knightgao2  
       Oct 14, 2024
    还要签保密协议才给看的
    From313
        10
    From313  
       Oct 15, 2024
    用模拟器还要申请
    Rrrrrr
        11
    Rrrrrr  
       Oct 19, 2024
    看这评论有点离谱,本来还想跑个 hello world
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2469 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 11:53 · PVG 19:53 · LAX 04:53 · JFK 07:53
    ♥ Do have faith in what you're doing.