Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"


听说在4.18后UE4支持了gradle版本的编程,那如果我需要导入一个在Android Studio中写好的Module,我改怎么修改这个settings.gradle文件来让那些build.gradle来找到这些Module呢

Product Version: UE 4.20
more ▼

asked Jan 07 '19 at 10:47 AM in Chinese

avatar image

21 1 1 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first
more ▼

answered Jan 11 '19 at 03:51 PM

avatar image

36 2 3 4

avatar image crysyal 3 days ago

你好在你发给我的这个链接中有提到几个build.gradle文件的addition文件的相应修改接口,我在翻阅了引擎下的UnrealPluginLanguage.cs文件后也发现了几个修改标签alt text,但是始终没有找到修改settings.gradle这个文件的入口,我需要在alt text这样的文件目录中添加几行include大概是这个意思。 目前解决方案是修改了UE下的UEDeployAndroid.cs文件来让他在生成settings.gradle时添加相应的内容alt text,是否有其他定义的标签能够修改这个文件或者有别的不修改引擎的情况下能够修改这个文件的方式

avatar image Feng.Li STAFF 3 days ago

如果你把第三方库直接copy在Build/Android/Java/JavaLibs中,这里应该会直接把你拷贝进去的东西写在SettingGradleContent这个拼接字符串里. 你已经找到了写Settings.Gradle的函数,里面是把JavaLibsDir遍历,添加每一个找到的module. 那么其实接着看下JavaLibsDir在哪里,就可以这里不用改任何代码了.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question