提交 72ea88fe 编写于 作者: C chenjiahuan

<解决安装hap失败>

Signed-off-by: Nchenjiahuan <chenjiahuan@huawei.com>
上级 260d82f0
...@@ -44,10 +44,8 @@ ...@@ -44,10 +44,8 @@
} }
], ],
"deviceType": [ "deviceType": [
"phone", "default",
"tablet", "tablet"
"tv",
"wearable"
], ],
"mainAbility": "ohos.acts.multimedia.audio.audiointerrupt.MainAbility", "mainAbility": "ohos.acts.multimedia.audio.audiointerrupt.MainAbility",
"distro": { "distro": {
......
{ {
"app": { "app": {
"apiVersion": { "apiVersion": {
"compatible": 8, "compatible": 8,
"releaseType": "Beta1", "releaseType": "Beta1",
"target": 9 "target": 9
},
"vendor": "acts",
"bundleName": "com.example.myapplication",
"version": {
"code": 1,
"name": "1.0"
}
}, },
"vendor": "acts", "deviceConfig": {
"bundleName": "com.example.myapplication", "default": {
"version": { "debug": true
"code": 1, }
"name": "1.0" },
} "module": {
}, "package": "com.example.myapplication",
"deviceConfig": { "name": ".MyApplication",
"default": { "mainAbility": ".MainAbility",
"debug": true "abilities": [
} {
}, "skills": [
"module": { {
"package": "com.example.myapplication", "entities": [
"name": ".MyApplication", "entity.system.home"
"mainAbility": ".MainAbility", ],
"abilities": [ "actions": [
{ "action.system.home"
"skills": [ ]
{ }
"entities": [ ],
"entity.system.home" "orientation": "unspecified",
], "formsEnabled": false,
"actions": [ "name": ".MainAbility",
"action.system.home" "srcLanguage": "js",
] "srcPath": "MainAbility",
} "icon": "$media:icon",
], "description": "$string:MainAbility_desc",
"orientation": "unspecified", "label": "$string:MainAbility_label",
"formsEnabled": false, "type": "page",
"name": ".MainAbility", "visible": true,
"srcLanguage": "js", "launchType": "standard"
"srcPath": "MainAbility", },
"icon": "$media:icon", {
"description": "$string:MainAbility_desc", "orientation": "unspecified",
"label": "$string:MainAbility_label", "formsEnabled": false,
"type": "page", "name": ".TestAbility",
"visible": true, "srcLanguage": "js",
"launchType": "standard" "srcPath": "TestAbility",
}, "icon": "$media:icon",
{ "description": "$string:TestAbility_desc",
"orientation": "unspecified", "label": "$string:TestAbility_label",
"formsEnabled": false, "type": "page",
"name": ".TestAbility", "visible": true,
"srcLanguage": "js", "launchType": "standard"
"srcPath": "TestAbility", }
"icon": "$media:icon", ],
"description": "$string:TestAbility_desc", "deviceType": [
"label": "$string:TestAbility_label", "default",
"type": "page", "tablet"
"visible": true, ],
"launchType": "standard" "distro": {
} "moduleType": "entry",
], "installationFree": false,
"deviceType": [ "deliveryWithInstall": true,
"tablet", "moduleName": "entry"
"phone" },
], "reqPermissions": [
"distro": { {
"moduleType": "entry", "name": "ohos.permission.MANAGE_MEDIA_RESOURCES",
"installationFree": false, "reason": "use ohos.permission.MANAGE_MEDIA_RESOURCES"
"deliveryWithInstall": true, }
"moduleName": "entry" ],
}, "js": [
"reqPermissions": [ {
{ "pages": [
"name": "ohos.permission.MANAGE_MEDIA_RESOURCES", "pages/index/index"
"reason": "use ohos.permission.MANAGE_MEDIA_RESOURCES" ],
} "name": "default",
], "window": {
"js": [ "designWidth": 720,
{ "autoDesignWidth": false
"pages": [ }
"pages/index/index" },
], {
"name": "default", "pages": [
"window": { "pages/index/index"
"designWidth": 720, ],
"autoDesignWidth": false "name": ".TestAbility",
} "window": {
}, "designWidth": 720,
{ "autoDesignWidth": false
"pages": [ }
"pages/index/index" }
], ],
"name": ".TestAbility", "testRunner": {
"window": { "name": "OpenHarmonyTestRunner",
"designWidth": 720, "srcPath": "TestRunner"
"autoDesignWidth": false }
} }
}
],
"testRunner": {
"name": "OpenHarmonyTestRunner",
"srcPath": "TestRunner"
}
}
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册