DJI-Mobile-SDK-Tutorials / Android-FPVDemo

This demo shows how to create a simple FPV view and how to take photo and record video using DJI Mobile SDK.
MIT License
64 stars 81 forks source link

SDK Lib is build with android level 22 #4

Closed 0x2539 closed 7 years ago

0x2539 commented 8 years ago

You should mention in the README that the sdk is built with android level 22, because the project must also be built with android level 22. By default android studio creates a project using the latest built tools (at the moment it would be compileSdkVersion 23).

Also, the sample project android level is 23 so it won't run successfully.

dji-dev commented 8 years ago

Hi, we have tested the demo on Android Studio, and it works well. Here are the project settings:

unknown

Please try with these settings. Hope it helps!

yoqim commented 8 years ago

there is a problem when I run this demo, i even can't register successfully. A error log keep saying that E/DJIVideoDecoder: dequeueOutputBuffer codec null

dji-dev commented 7 years ago

If you can't register, please make sure your app API_KEY is correctly declared in Manifest file.