Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradle Build #50

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Gradle Build #50

wants to merge 5 commits into from

Conversation

kristianlm
Copy link

Hi,

Please consider merging in the new gradle build system, as is the default build tooling for Android nowadays.

On Android Marshmallow (6) and above, no recordings were possible and
no files would be created. Instead, we get an error message regarding
audio capture.

[This
issue](riul88#41),
however, briefly describes the solution, which is basically this
patch.

Now the calls seems to be recorded correclty (tested on Android
6.0.1).

Note that even though the source says just `MIC`, both voices in the
call are captured.
this is a automatic process that Android Studio did for me. here's its
`import-summary.txt`:

ECLIPSE ANDROID PROJECT IMPORT SUMMARY
======================================

Ignored Files:
--------------
The following files were *not* copied into the new Gradle project; you
should evaluate whether these are still needed in your project and if
so manually move them:

* .gitignore
* AUTHORS
* CONTRIBUTORS
* README.md
* ic_launcher-web.png
* proguard-project.txt

Replaced Jars with Dependencies:
--------------------------------
The importer recognized the following .jar files as third party
libraries and replaced them with Gradle dependencies instead. This has
the advantage that more explicit version information is known, and the
libraries can be updated automatically. However, it is possible that
the .jar file in your project was of an older version than the
dependency we picked, which could render the project not compileable.
You can disable the jar replacement in the import wizard and try again:

android-support-v4.jar => com.android.support:support-v4:18.0.0

Moved Files:
------------
Android Gradle projects use a different directory structure than ADT
Eclipse projects. Here's how the projects were restructured:

* AndroidManifest.xml => app/src/main/AndroidManifest.xml
* res/ => app/src/main/res/
* src/ => app/src/main/java/

Next Steps:
-----------
You can now build the project. The Gradle project needs network
connectivity to download dependencies.

Bugs:
-----
If for some reason your project does not build, and you determine that
it is due to a bug or limitation of the Eclipse to Gradle importer,
please file a bug at http://b.android.com with category
Component-Tools.

(This import summary is for your information only, and can be deleted
after import once you are satisfied with the results.)
this is taken from the default .gitignore from AndroidStudio. seems to
match nicely with these project files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant