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

配置问题 #5

Closed
wernety opened this issue Dec 28, 2021 · 1 comment
Closed

配置问题 #5

wernety opened this issue Dec 28, 2021 · 1 comment

Comments

@wernety
Copy link

wernety commented Dec 28, 2021

一、在学习运行您的框架过程中,我始终执行不了下面四句话(位于arcgis-android-tianditu-master\sample\src\main\java\com\wshunli\map\tianditu\sample\MainActivity.java)

import com.esri.arcgisruntime.layers.WebTiledLayer;
import com.esri.arcgisruntime.mapping.ArcGISMap;
import com.esri.arcgisruntime.mapping.Basemap;
import com.esri.arcgisruntime.mapping.view.MapView;

在项目里的gradle里面我按照您的说明配置了在线 ArcGIS,并且在sample和tianditu这两个module下面也按照您的说明配置了依赖 ,但是它们好像不起作用,于是我想请问有什么方法可以解决的吗?

二、另外,在阅读您的代码的时候,我一直在寻找MainActivity.java中导入的四个文件的位置(MainActivity.java位于arcgis-android-tianditu-master\sample\src\main\java\com\wshunli\map\tianditu\sample\MainActivity.java)
com.lxj.xpopup.XPopup;
com.lxj.xpopup.impl.BottomListPopupView;
com.lxj.xpopup.impl.CenterListPopupView;
com.lxj.xpopup.interfaces.OnSelectListener;
请问这四个文件在哪个位置下呢?

最后,由于我是初学者,所以提的问题比较简单,希望您见谅,谢谢您,祝安好

@wshunli
Copy link
Owner

wshunli commented Dec 28, 2021

一、ArcGIS Android 依赖的问题

检查下依赖的配置,然后做下 Gradle Sync

二、xpopup 只是 demo 中使用

可以根据项目需要选择

 implementation 'com.lxj:xpopup:1.9.0'

@wshunli wshunli closed this as completed Feb 19, 2022
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

No branches or pull requests

2 participants