立即注册
查看: 3128|回复: 0

[转载] 用Android Studio开始一个ARCore 项目

已绑定手机
发表于 2017-12-16 00:09:42 | 显示全部楼层 |阅读模式 来自 辽宁省沈阳市
Getting Started with Android Studio
Note: ARCore is currently in preview. There might be breaking changes before the 1.0 release.Set up your development environmentPrepare your device
You must use a supported, physical device. ARCore does not support virtual devices such as the Android Emulator. To prepare your device:
Open the sample project
In Android Studio, open the HelloAR sample project in <ARCore SDK Folder>/samples/java_arcore_hello_ar.
The sample project has build dependencies on certain versions of software, such as Gradle and the Android SDK. If the required dependencies are not installed, Android Studio will ask you for permission to download and install them on your machine.
Run the sample
Make sure your Android device is connected to the development machine and click Run in Android Studio. Then, choose your device as the deployment target and click OK.
Android Studio builds your project into a debuggable APK, installs the APK, and then runs the app on your device. For more information, see Build and Run Your App.
As you MOVe your device, the app automatically detects flat surfaces and draws a diamond grid. Tap the grid to place an Android robot on the surface.
Next steps
Read the code and comments in the sample app, as well as the ARCore for Android SDK API Reference.
After that, you can integrate the ARCore AAR Library into your existing project by adding it as a dependency. Your app's minSDKVersion must be 19 or higher.



您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

合作/建议

TEL: 19168984579

工作时间:
周一到周五 9:00-11:30 13:30-19:30
  • 扫一扫关注公众号
  • 扫一扫打开小程序
Copyright © 2013-2024 一牛网 版权所有 All Rights Reserved. 帮助中心|隐私声明|联系我们|手机版|粤ICP备13053961号|营业执照|EDI证
在本版发帖搜索
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表