Trouble with Samsung GALAXY Android Support from Simulink
이 질문을 팔로우합니다.
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다.
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다.
오류 발생
페이지가 변경되었기 때문에 동작을 완료할 수 없습니다. 업데이트된 상태를 보려면 페이지를 다시 불러오십시오.
이전 댓글 표시
I did what the help document written, but when I deploy to hardware, it can't work in my phone, and only show "Hello world, untitled1"
댓글 수: 1
PS: This written in diagnostic viewer:
The call to realtime_make_rtw_hook, during the after_make hook generated the following error: Unexpected Apache Ant™ version 1.9.2 compiled on July 8 2013 Trying the default build file: build.xml Buildfile: C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0_67\jre Detected OS: Windows 7 parsing buildfile C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml with URI = <file:/C:/Users/Tang/Documents/MATLAB/untitled1_rtt/untitled1/build.xml> Project base dir set to: C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1 parsing buildfile jar:file:/C:/MATLAB/SupportPackages/R2014a/andriod/apache-ant-1.9.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/MATLAB/SupportPackages/R2014a/andriod/apache-ant-1.9.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [property] Loading C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\local.properties [property] Loading C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\ant.properties [property] Loading Environment env. Property "env.ANDROID_HOME" has not been set Importing file C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\custom_rules.xml from C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Cannot find C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\custom_rules.xml imported from C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Importing file C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml from C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Overriding previous definition of reference to ant.projectHelper parsing buildfile C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml with URI = <file:/C:/MATLAB/SupportPackages/R2014a/andriod/adt-bundle-windows-x86_64-20131030/sdk/tools/ant/build.xml> Property "key.store" has not been set [macrodef] creating macro do-only-if-not-library [macrodef] creating macro do-only-if-manifest-hasCode [macrodef] creating macro dex-helper [macrodef] creating macro package-helper [macrodef] creating macro zipalign-helper [macrodef] creating macro run-tests-helper [macrodef] creating macro record-build-key [macrodef] creating macro record-build-info [macrodef] creating macro uninstall-helper Overriding previous definition of reference to ant.projectHelper Build sequence for target(s) `debug' is [-set-mode-check, -set-debug-files, -check-env, -setup, -set-debug-mode, -debug-obfuscation-check, -pre-build, -build-setup, -code-gen, -pre-compile, -compile, -post-compile, -obfuscate, -dex, -crunch, -package-resources, -package, -post-package, -do-debug, -post-build, debug] Complete build sequence is [-set-mode-check, -set-debug-files, -check-env, -setup, -set-debug-mode, -debug-obfuscation-check, -pre-build, -build-setup, -code-gen, -pre-compile, -compile, -post-compile, -obfuscate, -dex, -crunch, -package-resources, -package, -post-package, -do-debug, -post-build, debug, -set-instrumented-mode, instrument, emma, android_rules.-pre-build, android_rules.-release-obfuscation-check, android_rules.-setup, lint, android_rules.-release-sign, -test-project-check, android_rules.nodeps, android_rules.-set-debug-files, android_rules.-set-debug-mode, -pre-clean, -release-nosign, install, installd, android_rules.installt, android_rules.-dex, -set-release-mode, android_rules.installr, android_rules.emma, android_rules.-release-nosign, android_rules.-pre-compile, android_rules.instrument, android_rules.uninstall, android_rules.installi, android_rules.lint, android_rules.-obfuscate, android_rules.clean, android_rules.installd, android_rules.-post-build, android_rules.-debug-obfuscation-check, android_rules.-compile, installt, help, -release-obfuscation-check, -release-prompt-for-password, -release-sign, android_rules.release, installr, release, android_rules.-pre-clean, android_rules.-post-compile, installi, android_rules.-code-gen, android_rules.-release-prompt-for-password, android_rules.-package-resources, android_rules.-set-mode-check, android_rules.-test-project-check, test, android_rules.help, android_rules.install, clean, android_rules.-do-debug, android_rules.-check-env, android_rules.-package, android_rules.-set-instrumented-mode, android_rules.-post-package, android_rules.test, android_rules.debug, uninstall, android_rules.-build-setup, nodeps, android_rules.-crunch, , android_rules.-set-release-mode]
-set-mode-check:
-set-debug-files:
-check-env: [checkenv] Android SDK Tools Revision 22.3.0 [checkenv] Installed at C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk
-setup: [echo] Project Name: untitled1 [gettype] Project Type: Application
-set-debug-mode: Property "emma.enabled" has not been set
-debug-obfuscation-check:
-pre-build:
-build-setup: [getbuildtools] Using latest Build Tools: 19.0.0 [property] Loading C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\build.prop Override ignored for property "build.last.target" Override ignored for property "build.last.is.instrumented" Override ignored for property "build.last.is.packaging.debug" Override ignored for property "build.last.is.signing.debug" [echo] Resolving Build Target for untitled1... [gettarget] Project Target: Android 4.4 [gettarget] API level: 19 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\res because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\libs because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\res because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\rsObj because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\rsLibs because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\gen because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\classes because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\dexedLibs because it already exists. [echo] ---------- [echo] Resolving Dependencies for untitled1...
BUILD FAILED C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:577: ../OpenCV resolve to a path with no project.properties file for project C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1 at com.android.ant.DependencyHelper.getDirectDependencies(DependencyHelper.java:250) at com.android.ant.DependencyHelper.init(DependencyHelper.java:182) at com.android.ant.DependencyHelper.<init>(DependencyHelper.java:177) at com.android.ant.GetLibraryPathTask.execute(GetLibraryPathTask.java:149) at com.android.ant.ComputeDependencyTask.execute(ComputeDependencyTask.java:226) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 2 seconds
The build process will terminate as a result.
Unexpected Apache Ant™ version 1.9.2 compiled on July 8 2013 Trying the default build file: build.xml Buildfile: C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0_67\jre Detected OS: Windows 7 parsing buildfile C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml with URI = <file:/C:/Users/Tang/Documents/MATLAB/untitled1_rtt/untitled1/build.xml> Project base dir set to: C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1 parsing buildfile jar:file:/C:/MATLAB/SupportPackages/R2014a/andriod/apache-ant-1.9.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/MATLAB/SupportPackages/R2014a/andriod/apache-ant-1.9.2/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [property] Loading C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\local.properties [property] Loading C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\ant.properties [property] Loading Environment env. Property "env.ANDROID_HOME" has not been set Importing file C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\custom_rules.xml from C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Cannot find C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\custom_rules.xml imported from C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Importing file C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml from C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\build.xml Overriding previous definition of reference to ant.projectHelper parsing buildfile C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml with URI = <file:/C:/MATLAB/SupportPackages/R2014a/andriod/adt-bundle-windows-x86_64-20131030/sdk/tools/ant/build.xml> Property "key.store" has not been set [macrodef] creating macro do-only-if-not-library [macrodef] creating macro do-only-if-manifest-hasCode [macrodef] creating macro dex-helper [macrodef] creating macro package-helper [macrodef] creating macro zipalign-helper [macrodef] creating macro run-tests-helper [macrodef] creating macro record-build-key [macrodef] creating macro record-build-info [macrodef] creating macro uninstall-helper Overriding previous definition of reference to ant.projectHelper Build sequence for target(s) `debug' is [-set-mode-check, -set-debug-files, -check-env, -setup, -set-debug-mode, -debug-obfuscation-check, -pre-build, -build-setup, -code-gen, -pre-compile, -compile, -post-compile, -obfuscate, -dex, -crunch, -package-resources, -package, -post-package, -do-debug, -post-build, debug] Complete build sequence is [-set-mode-check, -set-debug-files, -check-env, -setup, -set-debug-mode, -debug-obfuscation-check, -pre-build, -build-setup, -code-gen, -pre-compile, -compile, -post-compile, -obfuscate, -dex, -crunch, -package-resources, -package, -post-package, -do-debug, -post-build, debug, -set-instrumented-mode, instrument, emma, android_rules.-pre-build, android_rules.-release-obfuscation-check, android_rules.-setup, lint, android_rules.-release-sign, -test-project-check, android_rules.nodeps, android_rules.-set-debug-files, android_rules.-set-debug-mode, -pre-clean, -release-nosign, install, installd, android_rules.installt, android_rules.-dex, -set-release-mode, android_rules.installr, android_rules.emma, android_rules.-release-nosign, android_rules.-pre-compile, android_rules.instrument, android_rules.uninstall, android_rules.installi, android_rules.lint, android_rules.-obfuscate, android_rules.clean, android_rules.installd, android_rules.-post-build, android_rules.-debug-obfuscation-check, android_rules.-compile, installt, help, -release-obfuscation-check, -release-prompt-for-password, -release-sign, android_rules.release, installr, release, android_rules.-pre-clean, android_rules.-post-compile, installi, android_rules.-code-gen, android_rules.-release-prompt-for-password, android_rules.-package-resources, android_rules.-set-mode-check, android_rules.-test-project-check, test, android_rules.help, android_rules.install, clean, android_rules.-do-debug, android_rules.-check-env, android_rules.-package, android_rules.-set-instrumented-mode, android_rules.-post-package, android_rules.test, android_rules.debug, uninstall, android_rules.-build-setup, nodeps, android_rules.-crunch, , android_rules.-set-release-mode]
-set-mode-check:
-set-debug-files:
-check-env: [checkenv] Android SDK Tools Revision 22.3.0 [checkenv] Installed at C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk
-setup: [echo] Project Name: untitled1 [gettype] Project Type: Application
-set-debug-mode: Property "emma.enabled" has not been set
-debug-obfuscation-check:
-pre-build:
-build-setup: [getbuildtools] Using latest Build Tools: 19.0.0 [property] Loading C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\build.prop Override ignored for property "build.last.target" Override ignored for property "build.last.is.instrumented" Override ignored for property "build.last.is.packaging.debug" Override ignored for property "build.last.is.signing.debug" [echo] Resolving Build Target for untitled1... [gettarget] Project Target: Android 4.4 [gettarget] API level: 19 [echo] ---------- [echo] Creating output directories if needed... [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\res because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\libs because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\res because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\rsObj because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\rsLibs because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\gen because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\classes because it already exists. [mkdir] Skipping C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1\bin\dexedLibs because it already exists. [echo] ---------- [echo] Resolving Dependencies for untitled1...
BUILD FAILED C:\MATLAB\SupportPackages\R2014a\andriod\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:577: ../OpenCV resolve to a path with no project.properties file for project C:\Users\Tang\Documents\MATLAB\untitled1_rtt\untitled1 at com.android.ant.DependencyHelper.getDirectDependencies(DependencyHelper.java:250) at com.android.ant.DependencyHelper.init(DependencyHelper.java:182) at com.android.ant.DependencyHelper.<init>(DependencyHelper.java:177) at com.android.ant.GetLibraryPathTask.execute(GetLibraryPathTask.java:149) at com.android.ant.ComputeDependencyTask.execute(ComputeDependencyTask.java:226) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
답변 (1개)
Can you briefly describe your workflow?
Please note that "Hello world, model-name" will be the default text displayed in the apps generated with the support package.
카테고리
도움말 센터 및 File Exchange에서 Android Devices에 대해 자세히 알아보기
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
